views:

296

answers:

3

Hi folks,

i'm trying to find examples on the net about how to make a solution template. Everything leads to examples of project templates, which is not good enough for me. i'm after a solution template because I've got a number of projects I wish to put into the same solution and the make that a template.

can anyone help me with links or suggestions?

cheers :)

+1  A: 

You mean something like http://www.codeplex.com/treesurgeon, but using your custom solution scheme?

Igor Brejc
yep - something like that. That url shows an example of 3 projects in the solution being created.
Pure.Krome
A: 

The Guidance Automation Toolkit can be used to create solution templates. For instance, the Service Factory is done that way.

John Saunders
A: 

Hi Pure.Krome

You can try the following in your Project Template:

  <TemplateContent>
    <ProjectCollection>
      <ProjectTemplateLink ProjectName="$projectname$.BusinessLogic" >.\Project.BusinessLogic\MyTemplate.vstemplate</ProjectTemplateLink>
      <ProjectTemplateLink ProjectName="$projectname$.DataAccess">.\Project.DataAccess\MyTemplate.vstemplate</ProjectTemplateLink>
    </ProjectCollection>
  </TemplateContent>

This is you main template and then you need folder in the template that has there own templates.

Hope this helps.

Regards,

Johan J v Rensburg

Johan J v Rensburg