|
2 | 2 | title: "Visual Studio Template Schema Reference | Microsoft Docs"
|
3 | 3 | ms.custom: ""
|
4 | 4 | ms.date: "11/04/2016"
|
5 |
| -ms.technology: |
| 5 | +ms.technology: |
6 | 6 | - "vs-ide-general"
|
7 | 7 | ms.topic: "conceptual"
|
8 |
| -helpviewer_keywords: |
| 8 | +helpviewer_keywords: |
9 | 9 | - "VSTEMPLATE files"
|
10 | 10 | - "Visual Studio templates, schema"
|
11 | 11 | - ".vstemplate files"
|
12 | 12 | ms.assetid: 6f74a2d5-3811-43d6-8b10-eb5823ad8995
|
13 | 13 | author: "gregvanl"
|
14 | 14 | ms.author: "gregvanl"
|
15 | 15 | manager: douge
|
16 |
| -ms.workload: |
| 16 | +ms.workload: |
17 | 17 | - "vssdk"
|
18 | 18 | ---
|
19 | 19 | # Visual Studio Template Schema Reference
|
20 |
| -This section contains information about XML elements in .vstemplate files, which are files that store metadata for project templates, item templates, and Starter Kits. |
21 |
| - |
22 |
| - You can use vstemplate.xsd to validate custom .vstemplate files. This file is available at ..\\*Visual Studio installation folder*\Xml\Schemas\1033\vstemplate.xsd. |
23 |
| - |
24 |
| -|Element|Child Elements|Attributes| |
25 |
| -|-------------|--------------------|----------------| |
26 |
| -|[AppliesTo](../extensibility/appliesto-element-visual-studio-templates.md)|None|None| |
27 |
| -|[Assembly (Template)](../extensibility/assembly-element-visual-studio-templates.md)|--|--| |
28 |
| -|[Assembly (Wizard Extension)](../extensibility/assembly-element-visual-studio-template-wizard-extension.md)|--|--| |
29 |
| -|[BuildProjectOnload](../extensibility/buildprojectonload-element-visual-studio-templates.md)|--|--| |
30 |
| -|[CreateInPlace](../extensibility/createinplace-visual-studio-templates.md)|--|--| |
31 |
| -|[CreateNewFolder](../extensibility/createnewfolder-element-visual-studio-templates.md)|--|--| |
32 |
| -|[CustomDataSignature](../extensibility/customdatasignature-element-visual-studio-templates.md)|--|--| |
33 |
| -|[CustomParameter](../extensibility/customparameter-element-visual-studio-templates.md)|--|Name<br /><br /> Value| |
34 |
| -|[CustomParameters](../extensibility/customparameters-element-visual-studio-templates.md)|CustomParameter|--| |
35 |
| -|[DefaultName](../extensibility/defaultname-element-visual-studio-templates.md)|--|--| |
36 |
| -|[Description](../extensibility/description-element-visual-studio-templates.md)|--|Package<br /><br /> ID| |
37 |
| -|[EnableEditOfLocationField](../extensibility/enableeditoflocationfield-element-visual-studio-templates.md)|--|--| |
38 |
| -|[EnableLocationBrowseButton](../extensibility/enablelocationbrowsebutton-element-visual-studio-templates.md)|--|--| |
39 |
| -|[Folder](../extensibility/folder-element-visual-studio-project-templates.md)|ProjectItem<br /><br /> Folder|Name| |
40 |
| -||[deprecated]|--| |
41 |
| -|[FullClassName](../extensibility/fullclassname-element-visual-studio-template-wizard-extension.md)|--|--| |
42 |
| -|[Hidden](../extensibility/hidden-element-visual-studio-templates.md)|--|--| |
43 |
| -|[Icon](../extensibility/icon-element-visual-studio-templates.md)|--|Package<br /><br /> ID| |
44 |
| -|[LocationField](../extensibility/locationfield-element-visual-studio-project-templates.md)|--|--| |
45 |
| -|[LocationFieldMRUPrefix](../extensibility/locationfieldmruprefix-element-visual-studio-templates.md)|--|--| |
46 |
| -|[MaxFrameworkVersion](../extensibility/maxframeworkversion-element-visual-studio-templates.md)|--|--| |
47 |
| -|[Name](../extensibility/name-element-visual-studio-templates.md)|--|Package<br /><br /> ID| |
48 |
| -|[NumberOfParentCategoriesToRollUp](../extensibility/numberofparentcategoriestorollup-visual-studio-templates.md)|--|--| |
49 |
| -|[PreviewImage](../extensibility/previewimage-element-visual-studio-templates.md)|--|--| |
50 |
| -|[Project](../extensibility/project-element-visual-studio-templates.md)|Folder<br /><br /> ProjectItem|File<br /><br /> TargetFileName<br /><br /> ReplaceParameters| |
51 |
| -|[ProjectCollection](../extensibility/projectcollection-element-visual-studio-templates.md)|ProjectTemplateLink<br /><br /> SolutionFolder|--| |
52 |
| -|[ProjectItem (Item Templates)](../extensibility/projectitem-element-visual-studio-item-templates.md)|--|SubType<br /><br /> CustomTool<br /><br /> ItemType<br /><br /> ReplaceParameters<br /><br /> TargetFileName| |
53 |
| -|[ProjectItem (Project Templates)](../extensibility/projectitem-element-visual-studio-project-templates.md)|--|TargetFileName<br /><br /> ReplaceParameters<br /><br /> OpenInEditor<br /><br /> OpenOrder<br /><br /> OpenInWebBrowser<br /><br /> OpenInHelpBrowser| |
54 |
| -|[ProjectSubType](../extensibility/projectsubtype-element-visual-studio-templates.md)|--|--| |
55 |
| -|[ProjectTemplateLink](../extensibility/projecttemplatelink-element-visual-studio-templates.md)|--|ProjectName| |
56 |
| -|[ProjectType](../extensibility/projecttype-element-visual-studio-templates.md)|--|--| |
57 |
| -|[PromptForSaveOnCreation](../extensibility/promptforsaveoncreation-element-visual-studio-templates.md)|--|--| |
58 |
| -|[ProvideDefaultName](../extensibility/providedefaultname-element-visual-studio-templates.md)|--|--| |
59 |
| -|[Reference](../extensibility/reference-element-visual-studio-templates.md)|Assembly|--| |
60 |
| -|[References](../extensibility/references-element-visual-studio-templates.md)|Reference|--| |
61 |
| -|[RequiredFrameworkVersion](../extensibility/requiredframeworkversion-element-visual-studio-templates.md)|--|--| |
62 |
| -|[RequiredPlatformVersion](../extensibility/requiredplatformversion-element-visual-studio-templates.md)|--|Version| |
63 |
| -|[SDKReference](../extensibility/sdkreference-element-visual-studio-templates.md)|--|Package| |
64 |
| -|[ShowByDefault](../extensibility/showbydefault-visual-studio-templates.md)|--|--| |
65 |
| -|[SolutionFolder](../extensibility/solutionfolder-element-visual-studio-templates.md)|ProjectTemplateLink<br /><br /> SolutionFolder|Name| |
66 |
| -|[SortOrder](../extensibility/sortorder-element-visual-studio-templates.md)|--|--| |
67 |
| -|[SupportsCodeSeparation](../extensibility/supportscodeseparation-element-visual-studio-templates.md)|--|--| |
68 |
| -|[SupportsLanguageDropDown](../extensibility/supportslanguagedropdown-element-visual-studio-templates.md)|--|--| |
69 |
| -|[SupportsMasterPage](../extensibility/supportsmasterpage-element-visual-studio-templates.md)|--|--| |
70 |
| -|[TargetPlatformName](../extensibility/targetplatformname-element-visual-studio-templates.md)|RequiredPlatformVersion|--| |
71 |
| -|[TemplateContent](../extensibility/templatecontent-element-visual-studio-templates.md)|ProjectCollection<br /><br /> Project<br /><br /> References<br /><br /> ProjectItem<br /><br /> CustomParameters|[BuildOnLoad](../extensibility/buildprojectonload-visual-studio-templates.md)| |
72 |
| -|[TemplateData](../extensibility/templatedata-element-visual-studio-templates.md)|Name<br /><br /> Description<br /><br /> Icon<br /><br /> PreviewImage<br /><br /> ProjectType<br /><br /> ProjectSubType<br /><br /> TemplateID<br /><br /> TemplateGroupID<br /><br /> SortOrder<br /><br /> CreateNewFolder<br /><br /> DefaultName<br /><br /> ProvideDefaultName<br /><br /> PromptForSaveOnCreation<br /><br /> EnableLocationBrowseButton<br /><br /> EnableEditOfLocationField<br /><br /> Hidden<br /><br /> DisplayInParentCategories<br /><br /> LocationFieldMRUPrefix<br /><br /> NumberOfParentCategoriesToRollUp<br /><br /> CreateInPlace<br /><br /> BuildOnLoad<br /><br /> BuildProjectOnload<br /><br /> ShowByDefault<br /><br /> LocationField<br /><br /> SupportsMasterPage<br /><br /> SupportsCodeSeparation<br /><br /> SupportsLanguageDropDown<br /><br /> RequiredFrameworkVersion<br /><br /> FrameworkVersion<br /><br /> MaxFrameworkVersion<br /><br /> CustomDataSignature<br /><br /> TargetPlatformName|--| |
73 |
| -|[TemplateGroupID](../extensibility/templategroupid-element-visual-studio-templates.md)|--|--| |
74 |
| -|[TemplateID](../extensibility/templateid-element-visual-studio-templates.md)|--|--| |
75 |
| -|[VSTemplate](../extensibility/vstemplate-element-visual-studio-templates.md)|TemplateData<br /><br /> TemplateContent<br /><br /> WizardExtension<br /><br /> WizardData|Type<br /><br /> Version| |
76 |
| -|[WizardData](../extensibility/wizarddata-element-visual-studio-templates.md)|--|Name| |
77 |
| -|[WizardExtension](../extensibility/wizardextension-element-visual-studio-templates.md)|Assembly<br /><br /> FullClassName|--| |
78 |
| - |
79 |
| -## See Also |
80 |
| - [Creating Project and Item Templates](../ide/creating-project-and-item-templates.md) |
81 |
| - [How to: Create Starter Kits](../ide/how-to-create-starter-kits.md) |
| 20 | +This section contains information about XML elements in .vstemplate files, which are files that store metadata for project templates, item templates, and Starter Kits. |
| 21 | + |
| 22 | + You can use vstemplate.xsd to validate custom .vstemplate files. This file is available at ..\\*Visual Studio installation folder*\Xml\Schemas\1033\vstemplate.xsd. |
| 23 | + |
| 24 | +|Element|Child Elements|Attributes| |
| 25 | +|-------------|--------------------|----------------| |
| 26 | +|[AppliesTo](../extensibility/appliesto-element-visual-studio-templates.md)|None|None| |
| 27 | +|[Assembly (Template)](../extensibility/assembly-element-visual-studio-templates.md)|--|--| |
| 28 | +|[Assembly (Wizard Extension)](../extensibility/assembly-element-visual-studio-template-wizard-extension.md)|--|--| |
| 29 | +|[BuildProjectOnload](../extensibility/buildprojectonload-element-visual-studio-templates.md)|--|--| |
| 30 | +|[CreateInPlace](../extensibility/createinplace-visual-studio-templates.md)|--|--| |
| 31 | +|[CreateNewFolder](../extensibility/createnewfolder-element-visual-studio-templates.md)|--|--| |
| 32 | +|[CustomDataSignature](../extensibility/customdatasignature-element-visual-studio-templates.md)|--|--| |
| 33 | +|[CustomParameter](../extensibility/customparameter-element-visual-studio-templates.md)|--|Name<br /><br /> Value| |
| 34 | +|[CustomParameters](../extensibility/customparameters-element-visual-studio-templates.md)|CustomParameter|--| |
| 35 | +|[DefaultName](../extensibility/defaultname-element-visual-studio-templates.md)|--|--| |
| 36 | +|[Description](../extensibility/description-element-visual-studio-templates.md)|--|Package<br /><br /> ID| |
| 37 | +|[EnableEditOfLocationField](../extensibility/enableeditoflocationfield-element-visual-studio-templates.md)|--|--| |
| 38 | +|[EnableLocationBrowseButton](../extensibility/enablelocationbrowsebutton-element-visual-studio-templates.md)|--|--| |
| 39 | +|[Folder](../extensibility/folder-element-visual-studio-project-templates.md)|ProjectItem<br /><br /> Folder|Name| |
| 40 | +||[deprecated]|--| |
| 41 | +|[FullClassName](../extensibility/fullclassname-element-visual-studio-template-wizard-extension.md)|--|--| |
| 42 | +|[Hidden](../extensibility/hidden-element-visual-studio-templates.md)|--|--| |
| 43 | +|[Icon](../extensibility/icon-element-visual-studio-templates.md)|--|Package<br /><br /> ID| |
| 44 | +|[LocationField](../extensibility/locationfield-element-visual-studio-project-templates.md)|--|--| |
| 45 | +|[LocationFieldMRUPrefix](../extensibility/locationfieldmruprefix-element-visual-studio-templates.md)|--|--| |
| 46 | +|[MaxFrameworkVersion](../extensibility/maxframeworkversion-element-visual-studio-templates.md)|--|--| |
| 47 | +|[Name](../extensibility/name-element-visual-studio-templates.md)|--|Package<br /><br /> ID| |
| 48 | +|[NumberOfParentCategoriesToRollUp](../extensibility/numberofparentcategoriestorollup-visual-studio-templates.md)|--|--| |
| 49 | +|[PreviewImage](../extensibility/previewimage-element-visual-studio-templates.md)|--|--| |
| 50 | +|[Project](../extensibility/project-element-visual-studio-templates.md)|Folder<br /><br /> ProjectItem|File<br /><br /> TargetFileName<br /><br /> ReplaceParameters| |
| 51 | +|[ProjectCollection](../extensibility/projectcollection-element-visual-studio-templates.md)|ProjectTemplateLink<br /><br /> SolutionFolder|--| |
| 52 | +|[ProjectItem (Item Templates)](../extensibility/projectitem-element-visual-studio-item-templates.md)|--|SubType<br /><br /> CustomTool<br /><br /> ItemType<br /><br /> ReplaceParameters<br /><br /> TargetFileName| |
| 53 | +|[ProjectItem (Project Templates)](../extensibility/projectitem-element-visual-studio-project-templates.md)|--|TargetFileName<br /><br /> ReplaceParameters<br /><br /> OpenInEditor<br /><br /> OpenOrder<br /><br /> OpenInWebBrowser<br /><br /> OpenInHelpBrowser| |
| 54 | +|[ProjectSubType](../extensibility/projectsubtype-element-visual-studio-templates.md)|--|--| |
| 55 | +|[ProjectTemplateLink](../extensibility/projecttemplatelink-element-visual-studio-templates.md)|--|ProjectName| |
| 56 | +|[ProjectType](../extensibility/projecttype-element-visual-studio-templates.md)|--|--| |
| 57 | +|[PromptForSaveOnCreation](../extensibility/promptforsaveoncreation-element-visual-studio-templates.md)|--|--| |
| 58 | +|[ProvideDefaultName](../extensibility/providedefaultname-element-visual-studio-templates.md)|--|--| |
| 59 | +|[Reference](../extensibility/reference-element-visual-studio-templates.md)|Assembly|--| |
| 60 | +|[References](../extensibility/references-element-visual-studio-templates.md)|Reference|--| |
| 61 | +|[RequiredFrameworkVersion](../extensibility/requiredframeworkversion-element-visual-studio-templates.md)|--|--| |
| 62 | +|[RequiredPlatformVersion](../extensibility/requiredplatformversion-element-visual-studio-templates.md)|--|Version| |
| 63 | +|[SDKReference](../extensibility/sdkreference-element-visual-studio-templates.md)|--|Package| |
| 64 | +|[ShowByDefault](../extensibility/showbydefault-visual-studio-templates.md)|--|--| |
| 65 | +|[SolutionFolder](../extensibility/solutionfolder-element-visual-studio-templates.md)|ProjectTemplateLink<br /><br /> SolutionFolder|Name| |
| 66 | +|[SortOrder](../extensibility/sortorder-element-visual-studio-templates.md)|--|--| |
| 67 | +|[SupportsCodeSeparation](../extensibility/supportscodeseparation-element-visual-studio-templates.md)|--|--| |
| 68 | +|[SupportsLanguageDropDown](../extensibility/supportslanguagedropdown-element-visual-studio-templates.md)|--|--| |
| 69 | +|[SupportsMasterPage](../extensibility/supportsmasterpage-element-visual-studio-templates.md)|--|--| |
| 70 | +|[TargetPlatformName](../extensibility/targetplatformname-element-visual-studio-templates.md)|RequiredPlatformVersion|--| |
| 71 | +|[TemplateContent](../extensibility/templatecontent-element-visual-studio-templates.md)|ProjectCollection<br /><br /> Project<br /><br /> References<br /><br /> ProjectItem<br /><br /> CustomParameters|[BuildOnLoad](../extensibility/buildprojectonload-visual-studio-templates.md)| |
| 72 | +|[TemplateData](../extensibility/templatedata-element-visual-studio-templates.md)|Name<br /><br /> Description<br /><br /> Icon<br /><br /> PreviewImage<br /><br /> ProjectType<br /><br /> ProjectSubType<br /><br /> TemplateID<br /><br /> TemplateGroupID<br /><br /> SortOrder<br /><br /> CreateNewFolder<br /><br /> DefaultName<br /><br /> ProvideDefaultName<br /><br /> PromptForSaveOnCreation<br /><br /> EnableLocationBrowseButton<br /><br /> EnableEditOfLocationField<br /><br /> Hidden<br /><br /> DisplayInParentCategories<br /><br /> LocationFieldMRUPrefix<br /><br /> NumberOfParentCategoriesToRollUp<br /><br /> CreateInPlace<br /><br /> BuildOnLoad<br /><br /> BuildProjectOnload<br /><br /> ShowByDefault<br /><br /> LocationField<br /><br /> SupportsMasterPage<br /><br /> SupportsCodeSeparation<br /><br /> SupportsLanguageDropDown<br /><br /> RequiredFrameworkVersion<br /><br /> FrameworkVersion<br /><br /> MaxFrameworkVersion<br /><br /> CustomDataSignature<br /><br /> TargetPlatformName|--| |
| 73 | +|[TemplateGroupID](../extensibility/templategroupid-element-visual-studio-templates.md)|--|--| |
| 74 | +|[TemplateID](../extensibility/templateid-element-visual-studio-templates.md)|--|--| |
| 75 | +|[VSTemplate](../extensibility/vstemplate-element-visual-studio-templates.md)|TemplateData<br /><br /> TemplateContent<br /><br /> WizardExtension<br /><br /> WizardData|Type<br /><br /> Version| |
| 76 | +|[WizardData](../extensibility/wizarddata-element-visual-studio-templates.md)|--|Name| |
| 77 | +|[WizardExtension](../extensibility/wizardextension-element-visual-studio-templates.md)|Assembly<br /><br /> FullClassName|--| |
| 78 | + |
| 79 | +## See also |
| 80 | + |
| 81 | +- [Create Project and Item Templates](../ide/creating-project-and-item-templates.md) |
0 commit comments