Relative Root with Visual Studio ASP.NET debugger
<p>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 <code>&lt;img src='/img/logo.png' /&gt;</code> to render correctly without having to resort to the ASP.NET specific tags like <code>&lt;asp:image /&gt;</code>? If I code for the debugger's peculiarities then when I upload to the production IIS server everthing is off.</p>

<p>How do you resolve this?</p>
