T3 template engine
Is the T3 template engine only avavilable for use with Visual Studio 2005?
Is there a DLL available that I could use if say I wanted to use this instead of CodeSmith?
Also if this DLL is available would it strictly require Whidbey?
I ask because my team uses macros to spit out some code, such as dataccess code using the Enterprise Library blocks (including correct parameter discovery for stored procs) and I thought the T3 templates would be useful in CodeSnippet type Addin I have considered developing.
Hi,
The T3 template engine doesn't work in Everett, sorry.
Yes, its possible to host the T3 template engine from your own code but it will require some coding (I will try to put a sample on how to do this for you).
Also note that the T3 template engine that shipped in the current GAX Tech Preview has been already replaced by an enhanced one codenamed 'T4'. This is the engine that will be used by final versions of both, GAT and the DSL Tools. Luckily migration between T3 templates to T4 templates is really simple.
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Followers of the IHttpHandler
http://weblogs.asp.net/vga
vga at 2007-9-8 >

With T4 really around the corner, we'd rather focus on getting good samples on how to use it and host it standalone.
So stay tunned, T3 is moving forward, and I bet you'll like what's coming!
kzu at 2007-9-8 >

It there good documentation available for the T3 and T4 template engine.
I can't find much about it.
And i'm also interested in the sample to call the T3 or T4 engine directly from your own code.
Thanks