- 1
How to use ProjectSubType?
PROJECTSUBTYPE Specifies that the template is categorized into a subcategory of the value specified in the ProjectType element.
- 2
TemplateID and TemplateGroupID
TemplateGroupID: Specifies the identifier for the category of the item template. Using the value of the TemplateGroupID element with the project system registration (hkey_local_machine\software\microsoft\visualstudio\11.0\projects\) can be filtered to appear in the Add New item Template in the dialog box.
TemplateID: Specifies the identifier of an item template that is categorized by templategroupid elements into an item template group. If the. vstemplate file omits the TemplateID element, the Name element is used as the identifier for this template.
PS: The author did not find the project system registration directory in VS2013, testing the function is not possible. Use grouping to refer to previous experience "vs Custom Project Template: [4] Grouping of custom templates"
- 3
How do I set the template sort order? SortOrder
The Sordorder value must be a multiple of 10.
In the New Project dialog box, a template with a low sort order value appears before a template with a high sort order value.
If this value is not set, the alphabetical order is sorted.
When you change SortOrder to 20, the sort order is advanced, if the same sort exists, and then sorted alphabetically.
- 4
Createnewfolder
Whether to add an include folder for the project.
- 5
How do I set the default name for a new project?
ProvideDefaultName and DefaultName control.
If the new project requires a default name and ProvideDefaultName is set to True, the project name will use the default name provided by DefaultName when you create a new project, or False if you do not need to provide a default name.
- 6
How do I display a template at the same time in the parent and sub-class directories?
NumberOfParentCategoriesToRollUp, specifies the number of parent categories that will display this template in the New Project dialog box.
By default, the template is displayed in the subclass directory and no longer appears in the parent class directory.
- 7
How do I specify the minimum version required for. NET?
requiredframeworkversion element Settings.
- 8
How do I enable/disable or hide the location text box in the New Project dialog box?
Locationfield element settings, optional values: Enabled (default), Disabled, Hidden
END