I am working with T4 mapping to generate some c# classes for my MVC4 project. I generate the classes by right clicking on the T4 file within visual studio and select “Run Custom Tool”. This generates the classes.
I would like to automate this so want to generate the classes using a batch file. Is it possible to do such and if so how can it be achieved?
You’re probably better served by integrating the transformation in your build as described in http://msdn.microsoft.com/en-us/library/ee847423.aspx.