开发者

Web Application Project URL - from EnvDTE

Is it possible to get the URL for a web application project from the EnvDTE Project object?

i.e. I want the URL I see in Visual Studio when I look at the Web tab in Project properties.

Ideally, I'd like to be able to retrieve it if the project 开发者_JAVA技巧is set to either "Use Visual Studio Development Server", or "Use Local IIS Server"


Have you checked the Properties collection of the Project object you've got? As per this post a ProjectItem has an "URL" item in there, so the Project might have one too ...

I admit this is just a guess since I know absolutely nothing about webapps, I'm just digging through EnvDte stuff myself right now. But maybe it helps ...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜