How to disable the code generated by the T4 template from this template?

When I run the T4 template, the class files that it creates for me appear below the template. I cannot delete a template from a project without deleting files. I also can not copy files from the "under" template to the project root directory, since they are already in the root of the project. How can I free these files from the template he created?

+3
source share
2 answers

Get an announcement:

  • Right-click and open the containing folder.
  • Drag the generated file to another location in the solution.
  • Delete the source template and file from Visual Studio.
  • Presto.
+1
source

T4, T4 scaffolding. , .. MVC3, .

+1

All Articles