T4 – template and script
I mentioned earlier a way to write a template to call other templates. The method worked only for simple solutions. Now, with VS2010 I recommend following http://www.olegsych.com/2008/09/t4-tutorial-creating-reusable-code-generation-templates/ to create more reusable scripts.
One has to install Oleg’s T4Toolkit to get some new templates. Mentioned, though hard to parse, is that one must blank the Custom tool property from the “template” template and probably change the output suffix for the “script” template.
TT still has some way to go to get truly simple to use.