T4 – how to read output easy

When working with Microsoft’s Text Template Transformation Toolkit there is a lot of ctrl-tabbing to and fro to validate the result.

Instead split the editor  (I am talking Visual studio here) vertically and put the .tt file in one and the output (.cs) file in the other.  Whenever you save the .tt file the output file is updated.  It even remembers the scrolling position.

Leave a Reply