views:

22

answers:

1

I have build a few ASP.NET MVC sites now and I find I am always adding some of the same files to each project. Specifically I use blueprint.org CSS files, I have some html helpers, email files. All sites have a contact us page. What I want to do is create a custom default asp.net mvc project so that these common files are included in all my projects by default. Can anyone help please on how to edit the standard (or create new) MVC default project.

A: 

You want to look into using T4 Templates and see links like these:

http://msdn.microsoft.com/en-us/magazine/cc188697.aspx http://mikehadlow.blogspot.com/2007/03/building-visual-studio-custom-project.html

Richard