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!
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.
Yes you can, actually ASP.NET MVC uses this approach when creating View item from Controller item
All the Best Muse VSExtensions
来源:https://stackoverflow.com/questions/805979/t4-templates-and-visual-studio-item-templates