views:

467

answers:

2

Is it possible to create a Visual Studio item template that generates from a T4 template?

My google-fu does not seem powerful enough to yield an answer!

+2  A: 

Yes, you need to use GAX for that. It has a (rather limited implementation of) custom T4 host that allows you to use T4 as a template language.

Oleg Sych
Thanks Oleg,This would have worked for me but I decided to do the text transformations in my "New item .." wizard as the GAX solution was a bit heavy for my needs.Thank you again,Dan
Daniel Elliott
A: 

Hi all,

Yes you can, actually ASP.NET MVC uses this approach when creating View item from Controller item

All the Best Muse VSExtensions

Muse VSExtensions