Web Projects and Source Control

Anyone who has used a Web Project with Visual Studio.NET source control and GotDotNet is probably very angry. It's just unbelievable how horrible an experience it is.

A few weeks ago I converted the FlexWiki Web source to be a real Web Project. In doing so I spent about 3-4 hours getting it to all work, debugging problems, and then even more time documenting how everyone else could get it to work. My motivations behind moving to a Web Project were for:

  • Easy debugging (simply hit F5, build, debug)
  • Easy editing and creating of aspx files with code behind

Of course, for those two things, I made it impossible for any other mere mortal to just get the source, and compile.

However, Craig Andera, pointed me to an excellent set of instructions on how to get all the benefits of a Web Project from a regular Class Library project. They were authored by Fritz Onion. Thanks!

PS - yes I know that this all goes away with Whidbey. But I'm not using Whidbey yet ;-).