Testing a website with a root path

This post is really a reminder to myself, so that I can find the information quickly for the next time I reformat my hard drive!

To run a website with a root path in Visual Studio 2005 follow these steps:

  1. Tools->External tools menu
  2. Click Add
  3. Title = Webserver
  4. Command = C:WINDOWSMicrosoft.NETFrameworkv2.0.50727WebDev.WebServer.EXE
  5. Arguments = /port:8080 /path:$(ProjectDir)
  6. Tick “Use output window”

Whenever you need the webserver running just open your project and go to Tools->Webserver.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *