Skip to content

How to create a project template

Sayed Ibrahim Hashimi edited this page Dec 27, 2013 · 30 revisions

This doc covers the latest method to create a project template. The experience to create a project template has significantly changed in December 2013, this doc covers the new method.

Steps to add a new project template to SideWaffle

  1. Fork SideWaffle if you haven't already and open SideWaffle.sln
  2. Copy the project that you want to use as a template under the side-waffle folder
  3. Add the project to the solution
  4. In the TemplatePack project add a reference the project you just added
  5. Add the following files to the target project to turn it into a template
  6. _preprocess.xml (_Must be in the root folder, and must define the Path attribute on TemplateInfo
  7. _Definitions\_project.vstemplate.xml

For the steps where you add the _preprocess.xml and _Definitions\_project.vstemplate.xml files you can use ...