I am working on an ASP.NET project which is physically located at C:\Projects\MyStuff\WebSite2. When I run the app with the Visual Studio debugger it seems that the built in web server considers "C:\Projects\MyStuff\" to be the relative root, not "C:\Projects\MyStuff\WebSite2". Is there a web.config setting or something that will allow tags like <img src='/img/logo.png' />
to render correctly without having to resort to the ASP.NET specific tags like <asp:image />
? If I code for the debugger's peculiarities then when I upload to the production IIS server everthing is off.
How do you resolve this?