Pages

Thursday, January 10, 2013

"Run" T4 templates (.tt) in Visual Studio

In order to process the T4 template files (.tt), their Custom Tool (in Properties) has to be set to TextTemplatingFileGenerator. Then, right-click on a .tt file and select option "Run Custom Tool" to process the template and generate the output file.

No comments: