MsCorEE

JeffGonzalez : IScalable

Project and Solution Pain in 2005

Does anyone know why you can no longer run a website as a class library in Visual Studio 2005?  Well you can, but WOW it is painful.

I finally just took the Web ItemTemplates and put them in My Documents\Visual Studio 2005\Templates\ItemTemplates\CodeMakerX

This at least allowed me to add Web items like WebForm, UserControls, etc.. to a Class Library.  The problem is that it doesn't work seamlessly like it did in 2003.  I have to put all of my code in App_Code, ok fine I can live with that.  What I find difficult to comprehend is that all those smart people at Microsoft missed the boat on the most effective way (albeit maybe this is just my opinion, but I know I am not alone (http://pluralsight.com/wiki/default.aspx/Fritz.AspNetWithoutWebProjects) to manage web projects.  None of the ItemTemplates for aspx|master pages work correctly in a class library, I also cannot nest related files (aspx files and their code behinds). 

When it really comes down to it, Web Projects are the pretty much the same thing as Class Libraries with the addition of some deployable resources (.aspx|.ascx|.css|etc...).  I am trying to come to terms with the now project file-less web project and I really don't like it.

This is a major annoyance and I hope it gets fixed soon.

Comments

No Comments