colinramsay.co.uk

VS 2005 Web Site - A Farce

08 Dec 2005

Web Sites in Visual Studio 2005 are even further removed from standard projects than they were in 2003. With the advent of partial classes, there's a lot of hidden jiggery-pokery going on which means that your "built" website consists of a load of temporary dlls somewhere on your hard drive.

If you want to reference code written in your web site, you can't. There's no persistant dll to reference in another project. In some ways this is good, because it encourages code which doesn't belong to your UI to be extracted into encapsulated classes in other projects.

Anyway, ScottGu's talking about a new sort of Web Project which will wrap all the compiled code into a single persistant dll. This will also see the return of the Project file for web sites. But you'll still be able to launch from the filesystem using Cassini.

Feedback or questions on this post? Create an issue on GitHub.