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.

[515 byte] By [KiddKane] at [2008-1-13]
# 1
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 > top of Msdn Tech,Visual Studio,Visual Studio Guidance Automation Toolkit...
# 2

Cool, a sample would be great. And Everett support would be a bonus but was not at all needed, as all our new developments are targeting Whidbey.

KiddKane at 2007-9-8 > top of Msdn Tech,Visual Studio,Visual Studio Guidance Automation Toolkit...
# 3
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 > top of Msdn Tech,Visual Studio,Visual Studio Guidance Automation Toolkit...
# 4
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
Simplify at 2007-9-8 > top of Msdn Tech,Visual Studio,Visual Studio Guidance Automation Toolkit...
# 5

Hello.

Try this documentation (written for the DSL Tools), which also use T4 template engine. There is a very big section about T4

http://blogs.msdn.com/garethj/archive/2005/12/30/dsldocs.aspx

Best regards

JM

JMPrieur at 2007-9-8 > top of Msdn Tech,Visual Studio,Visual Studio Guidance Automation Toolkit...

Visual Studio

Site Classified