The primary mechanism for integrating T4 in C # and Visual Basic projects is the custom TextTemplatingFileGenerator tool. Although projects in Visual Studio 2010 C ++ now use MSBuild, they still do not support special tools. As a workaround, you can use the T4 Toolbox , which allows you to put the .tt file in a C # or Visual Basic project and have the files it automatically generates your C ++ project.
source share