views:

25

answers:

1

I found myself repeat on the same structure over and over again in all new projects. Is there a tool that I can use to create my own initial template?

+1  A: 

You can setup your base project and export it as a project template (File -> Export Template).

This article is a good source of information and walks through the process of packaging up your project template in a VSIX file for distribution.

There is an extension (the Export Template Wizard) that you can get from the Online Gallery that provides a few more options than the standard Export Template, and is not as involved as creating the VSIX manually. You can read about that here, which also talks about template parameter substitution.

adrift
Do I can export a solution that will contain a few projects rather than a single project?
stacker
I don't think the Export Template Wizard does that, but using the VS 2010 SDK, you can create [multi-project templates](http://msdn.microsoft.com/en-us/library/ms185308.aspx). I haven't done that yet, so cannot comment on how difficult it is.
adrift

related questions