6.7.3.3 Custom Template Parameters
You can use the CustomParameter
element in your .vstemplate file to add new parameters to a template.
- Locate the
TemplateContent
element in the .vstemplate file for the template. - Add a
CustomParameters
element and one or moreCustomParameter
child elements as children of the TemplateContent element. - Use the parameter in one or more of the code files in the template, as shown in Default Template Parameters.