Does anyone know of any reason this shouldn’t be handled in this way? I needed to load the source code for a web application into Visual Studio 2005, but the solution file wouldn’t come up to show me any objects. I fixed this by opening IIS on my machine, which had an alias for the web app set up as a default website. I right-clicked the alias and pointed it at a working copy of the source code folder, while keeping the compiled folder available to recover later as necessary (point the alias back at the compiled version’s folder). I think the reason this worked was because the solution file contained a line that showed the project or maybe the application name to be the same as the alias as it appeared in IIS. Also, IIS may provide facilities that allow you to test the app in Visual Studio’s view in browser feature.
Doing this allowed Visual Studio 2005 to open the solution for code and design edits, html edits, save and browse results locally in a test. Does anyone know of any reason that this shouldn’t be done?