running t4 script file from the command prompt

Mar 22, 2013 at 2:25 PM
I have a VS 2012 console project which generates the code files by using T4 Toolbox. Currently, I run the code generation script file by selecting 'Run custom Tool' from the popup menu in VS. I wonder if I can run the script file from the Command Prompt.
Coordinator
Mar 24, 2013 at 4:04 PM
While you can transform simple text templates using TextTransform, the T4 runtime environment it provides is completely different from Visual Studio. T4 Toolbox does not support TextTransform at this time.
Dec 3, 2013 at 7:30 AM
What about MSBuild or invoking the transformation from within .net application? IMO this is a very important feature.