If you are generating a project file or a list of entities or classes, use the BaseSingleFileExample.tt template.
Steps
- Open the CodeGenTemplates.sln file
- Create a new Folder for the template under Languages
- Create a new T4 template in the newly created folder
- Copy and paste the contents of the Example\BaseSingleFileExample\BaseSingleFileExample.tt into the newly created template.
- Make the desired changes to your template