Is it posible to write T4 templates in other .NET langua开发者_运维百科ges? In particular I'm interested in F# and IronPython.
I was complaining about this on twitter some time ago. It seems reasonable - afterall, T4 is just using CodeDOM provider! Anyway, Michael Hutchinson (from Mono team) suggested using the implementation in Mono, which should be extensible.
I didn't look into that further, but I think it may be a way to go...
The doc stipulates that only VB and C# are supported: T4 Template Directive, see the language
attribute.
精彩评论