20

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....

Michael Sallmen
  • 728
  • 5
  • 13
devlife
  • 15,275
  • 27
  • 77
  • 131

3 Answers3

10

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

Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
Daniel Mohl
  • 116
  • 3
5

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.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
  • 3
    If that is true (and I am not disputing what you're saying) then how does someone create a template like some of the starter kits? I found this online: http://msdn.microsoft.com/en-us/library/ms185308 (how to create multi-project templates. Maybe that is what I'm looking for.... – devlife Apr 27 '10 at 11:42
  • Yes, looks to me that this ought to be a good start for 2010 projects. Bummer on the crummy docs. The start kits were project templates afaik. – Hans Passant Apr 27 '10 at 13:24
  • although Blank Solution is an option in VS2012 – DevDave Jul 03 '13 at 16:47
  • There is a link "How To: Create Multi-Project Templates" which sounds like a Solution template to me. https://msdn.microsoft.com/en-us/library/vstudio/ms185308(v=vs.100).aspx – B. Clay Shannon-B. Crow Raven May 07 '15 at 17:43
4

That's not a VS template, but you can use tempify to create folder templates - http://opensource.endjin.com/templify/

"Templify has two modes – Create and Deploy. In Create mode you can take a pre-existing solution and turn it into a deployable template..."

Maxim
  • 7,268
  • 1
  • 32
  • 44