开发者

T4 with languages other than C# and VB

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜