Where to put code that use the generated files ?

May 5, 2013 at 6:17 PM
Hi Oleg,
i use T4Toolbox since 5 years.

I have a .tt file which generates N files by calling Render() on classes inheriting CSharpTemplate.

At the end of the .tt file, i want to load one of the generated files, but the file never exists at this time. If i run the template by hand in VS2012, all files are generated ok.

Where to put this code ?