本部分包含有关 .vstemplate 文件中的 XML 元素的信息,.vstemplate 文件用于存储项目模板、项模板和初学者工具包的元数据。
可以使用 vstemplate.xsd 验证自定义的 .vstemplate 文件。 此文件位于 ..\Visual Studio installation folder\Xml\Schemas\1033\vstemplate.xsd。
元素 |
子元素 |
特性 |
---|---|---|
无 |
无 |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
-- |
名称 值 |
|
CustomParameter |
-- |
|
-- |
-- |
|
-- |
包 ID |
|
-- |
-- |
|
-- |
-- |
|
ProjectItem 文件夹 |
名称 |
|
FrameworkVersion |
[已弃用] |
-- |
-- |
-- |
|
-- |
-- |
|
-- |
包 ID |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
-- |
包 ID |
|
-- |
-- |
|
-- |
-- |
|
文件夹 ProjectItem |
文件 TargetFileName ReplaceParameters |
|
ProjectTemplateLink SolutionFolder |
-- |
|
-- |
子类型 CustomTool ItemType ReplaceParameters TargetFileName |
|
-- |
TargetFileName ReplaceParameters OpenInEditor OpenOrder OpenInWebBrowser OpenInHelpBrowser |
|
-- |
-- |
|
-- |
ProjectName |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
程序集 |
-- |
|
引用 |
-- |
|
-- |
-- |
|
-- |
版本 |
|
SDKReference |
-- |
包 |
-- |
-- |
|
ProjectTemplateLink SolutionFolder |
名称 |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
-- |
-- |
|
RequiredPlatformVersion |
-- |
|
ProjectCollection Project 引用 ProjectItem CustomParameters |
||
名称 说明 图标 PreviewImage ProjectType ProjectSubType TemplateID TemplateGroupID SortOrder CreateNewFolder DefaultName ProvideDefaultName PromptForSaveOnCreation EnableLocationBrowseButton EnableEditOfLocationField Hidden DisplayInParentCategories LocationFieldMRUPrefix NumberOfParentCategoriesToRollUp CreateInPlace BuildOnLoad BuildProjectOnload ShowByDefault LocationField SupportsMasterPage SupportsCodeSeparation SupportsLanguageDropDown RequiredFrameworkVersion FrameworkVersion MaxFrameworkVersion CustomDataSignature TargetPlatformName |
-- |
|
-- |
-- |
|
-- |
-- |
|
TemplateData TemplateContent WizardExtension WizardData |
类型 版本 |
|
-- |
名称 |
|
程序集 FullClassName |
-- |