|
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.
|
| KiddKane Friday, June 17, 2005 8:51 PM |
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 Sunday, June 19, 2005 1:33 AM |
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 Sunday, June 19, 2005 1:33 AM |
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 Monday, June 20, 2005 5:51 PM |
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 Monday, June 20, 2005 9:16 PM |
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 Saturday, July 23, 2005 11:52 AM |
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 |
| JM Prieur - DslFactory Monday, January 02, 2006 9:15 AM |