running t4 script file from the command prompt

Mar 22, 2013 at 3: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.
Mar 24, 2013 at 5: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 8:30 AM
What about MSBuild or invoking the transformation from within .net application? IMO this is a very important feature.