Search code examples
visual-studiodebuggingcassini

In Visual Studio (2008), can I start up a website debug session as the web root?


I have a website in my solution, let's assume it is in a folder called /Solution/Website1. When I debug it in Visual Studio, it will come up as http://localhost:someport/Website1. I want it to start as http://localhost:someport. Is this possible?


Solution

  • If you click on the Website1 Project then go to the Properties Window(F4) you should see a property here for Virtual path try setting that to "/"

    Website Properties
    (source: bendewey.com)