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 is set to either “Use Visual Studio Development Server”, or “Use Local IIS Server”
Have you checked the
Propertiescollection of theProjectobject you’ve got? As per this post aProjectItemhas an “URL” item in there, so theProjectmight 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 …