There are many blog posts out there that show you how to create and include T4 (Text Template Transformation Toolkit) files (.tt) in your solution and have them override those stored in the default Visual Studio location. (see bottom of question for links)
Question:
Can you create and include a project Template file in a Visual Studio solution? If so what is required for Visual Studio to detect and use it.
A project template archive contains a .csproj, .vstemplate, and .cs files in them.
Example:
**ClassLibrary.zip**
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\ClassLibrary.zip
The .tt files seem to just work as soon as you add them, this doesn't seem to be the case for the template zip files...
Code Template Posts:
Hanselman - T4 Code Generation - Best Kept Visual Studio Secret