Pure.Krome
Pure.Krome

Reputation: 87047

Is it possible to create a solution template with VS2008?

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.

Upvotes: 1

Views: 581

Answers (3)

Johan J v Rensburg
Johan J v Rensburg

Reputation: 322

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.

Upvotes: 0

John Saunders
John Saunders

Reputation: 161831

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

Upvotes: 1

Igor Brejc
Igor Brejc

Reputation: 19004

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

Upvotes: 1

Related Questions