Creating multi-file item templates - Visual Studio (Windows)
https://docs.microsoft.com/en-us/visualstudio/ide/how-to-create-multi-file-item-templates
Create the item template as you would manually create a single-file item template, but include each file that constitutes the multi-file item. In the .vstemplate XML file, add a ProjectItem element for each individual file, and add a TargetFileName attribute to this element. Set the value of the TargetFileName attribute to $fileinputname$... Create the item template as you would manually create a single-file item template, but include each file that constitutes the multi-file item. In the .vstemplate XML file, add a ProjectItem element for each individual file, and add a TargetFileName attribute to this element. Set the value of the TargetFileName attribute to $fileinputname$... Select the files to be included in your template, right-click the selection, and choose Send to > Compressed (zipped) folder.The files that you selected are compressed into a .zipfile. Copy the .zip file to the user item template location. By default, the directory is %USERPROFILE%\Documents\Visual Studio <Version>\Templates\ItemTemplates. For more information, see How to: Locate...
Create the item template as you would manually create a single-file item template, but include each file that constitutes the multi-file item.
In the .vstemplate XML file, add a ProjectItem element for each individual file, and add a TargetFileName attribute to this element. Set the value of the TargetFileName attribute to $fileinputname$...
Select the files to be included in your template, right-click the selection, and choose Send to > Compressed (zipped) folder.The files that you selected are compressed into a .zipfile.
Copy the .zip file to the user item template location. By default, the directory is %USERPROFILE%\Documents\Visual Studio <Version>\Templates\ItemTemplates. For more information, see How to: Locate...
DA: 36 PA: 26 MOZ Rank: 82