- Start Visual Studio
- Create a project
- Select File|Export Template
- Follow through the Wizard
- Open the .zip file that was created and edit .vstemplate and modify any of the <ProjectItem> nodes using VS.NET (you'll get Intellisense support that way). Be sure to add an "OpenXXX" attribute to any documentation files so they will open when the starter kit is installed.
<ProjectItem ReplaceParameters="true" OpenInWebBrowser="true" TargetFileName="Welcome.htm">Welcome.htm</ProjectItem>
- Create a <starterkit>.vscontent XML file
- Create a new .zip file that contains <starterkit>.zip and <starterkit>.vscontent
<?xml version="1.0" encoding="utf-8"?>
<VSContent
xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
<Content>
<FileName>FacebookStarterKit.zip</FileName>
<DisplayName>ASP.NET Facebook Application (C#)</DisplayName>
<Description>ASP.NET Facebook Application Template (C#)</Description>
<FileContentType>VSTemplate</FileContentType>
<ContentVersion>1.5</ContentVersion>
<Attributes>
<Attribute name="TemplateType" value="Project"></Attribute>
<Attribute name="ProjectType" value="Visual C#"></Attribute>
<Attribute name="ProjectSubType" value=""></Attribute>
</Attributes>
</Content>
</VSContent>
- Change the file extension of this .zip file to .vsi
See also:
How to: Create Starter Kits