开发者

T4 with languages other than C# and VB

开发者 https://www.devze.com 2023-03-11 20:55 出处:网络
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 reasonabl

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

精彩评论

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