I want to start writing T4 templates. I've heard a lot of great a things about these templates (in the Hanselminutes podcast mainly) and would like to know more. What are the best locations to look for info on T4 template writing? What do I need to get started implementing my own templates? Are there pitfalls or important things I should know?
+5
A:
I wrote a little post on this with some pointers to other posts:
Tip 3- How to get started with T4 templates
You also might want to check out David Ebbo's blog he has been doing some pretty cool things with T4.
Oleg Sych's blog has a very useful intro.
Hope this helps
Alex
Alex James
2009-08-14 19:18:54
+1
A:
You have to have an editor. Without the syntax highlighting, figuring out which is generated code and which is generator code is an exercise in futility. Here's another editor addin that's free: http://t4-editor.tangible-engineering.com/T4-Editor-Visual-T4-Editing.html
John Sheehan
2009-08-14 19:24:18