Last week I created a Visual Studio custom tool to encrypt configuration files(more information about the process here and here). To simplify the usage and improve the discoverability I also created a custom Item Template.
But how can I automatically set this custom tool when a new item is created?
- Open the .vstemplate-file.
- Add a WizardExtension-node to the XML file:
- Afterwars specify a CustomTool attribute on the ProjectItem: