tags:

views:

251

answers:

4

Anything would be good. Exemples, best practices, samples, etc.

+4  A: 

Hanselman just blogged on this yesterday, he has a huge list of links:

http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx

Tim Farley
+2  A: 

I find Clarius's T4 Editor really helpful. It adds syntax highlighting, IntelliSense, and project items for T4 to Visual Studio. There are also demo videos on the website. There is a free Community edition, and an enhanced, non-free edition which also does C# syntax highlighting.

Craig Stuntz
+2  A: 

The Hanselman post links to this, but just in case: Rob Conery also just recently blogged on this and as usual, it's excellent: http://blog.wekeroad.com/blog/make-visual-studio-generate-your-repository/

Codewerks
A: 

For my money, the definitive source of good quality information on T4 can be found at http://www.olegsych.com/

With the basics beginning here -> http://www.olegsych.com/2007/12/text-template-transformation-toolkit/

Rory Becker