I don't know when Fritz Onion wrote this, but I sure wish I had found it about 6 months ago...
This is incredibly useful when you want to work with WebApps but are not happy with the way the wizard forces you into making certain assumptions about how you want to layout your app on a local machine.
It also seems to take care of a bunch of annoyances I had with VS.NET Web Folders. I use subversion AnkhSVN and VS.NET really hates using .svn folders. This eliminates the problem with VS.NET not wanting to refresh the folders, etc., etc.
One caveat about the document, it was a little unclear about how you create new VB Web Projects under this scenario, so here is a briefing:
follow the instructions in Fritz's document for adding project wizards.
- Create a New Empty VB Project
- Add a WebForm and a Web.Config
- Open IS Manager and either point your Default Web Site's home directory to this folder, or make a Virtual Directory pointing to it.
- Right-Click your Project and select Properties, then Configuration Properties/Debugging
- Change Start Action to Start URL instead of Start Project and use the URL (not the file location) of your start page, i.e. http://localhost/webform1.aspx
- enable ASP.NET debugging
- Now go to Common Properties, Change the output type from Windows Application to Class Library (feel free to change your root namespaces and Assembly name now that you CAN), apply the settings and close the properties dialog
Hit Start and enjoy your new ability to debug flexibility :-)
Copyright © 2003-2009 H. Steele Price, IV -
All opinions are my own, not necessarily those of my employer, your mother, or any government agency.