Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a solution template in VS2010?

Tags:

Can anyone point me in the right direction on how to create a Solution Template in VS2010? I need to create a solution with several projects already created....

like image 719
devlife Avatar asked Apr 26 '10 21:04

devlife


People also ask

How do I create a project template in Visual Studio?

Go to Documents\Visual Studio Version\Templates\ProjectTemplates and create a new folder to separate your template from the default templates of visual studio. You will see the newly created template as shown below. Give the name of the project and click on 'Ok' button.


2 Answers

You can find a blog post with an example at http://bloggemdano.blogspot.com/2010/05/creating-f-solution-template-for-visual.html.

like image 78
Daniel Mohl Avatar answered Oct 12 '22 23:10

Daniel Mohl


Solution templates do not exist. A VSTemplate type can be Project or Item, reference is here. This is also visible from File + Export Template.

Maybe you could write a macro to copy/create the required files.

like image 39
Hans Passant Avatar answered Oct 12 '22 23:10

Hans Passant