how can I get intellisense in a T4 template?

后端 未结 7 797
我在风中等你
我在风中等你 2020-12-24 05:17

When trying out these tutorials (T4 Tutorial: Creating reusable code generation templates) I noticed that although I was using plain c# I didn\'t get any intellisense, proba

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-24 05:46

    You can purchase the professional version of T4 Editor. It works very well in standalone .tt files, but unfortunately, due to the differences in how the pro version of T4 Editor and T4 itself compile the templates, you will get false errors reported for this tutorial, which relies on T4 Toolbox.

提交回复
热议问题