T4 Code Generation missing in Visual Studio 2008?

后端 未结 2 1872
臣服心动
臣服心动 2021-01-26 17:20

So I decided to roll up my sleeves and try out the T4 code generation built into VS2008.

I was going to work off of this article: http://www.olegsych.com/2008/09/t4-tuto

2条回答
  •  日久生厌
    2021-01-26 18:04

    Do you happen to use Visual Basic? T4 Toolbox only provides 4 project item templates for VB - File, Template, Generator and Unit Test. The other templates you may have seen in the tutorial screenshots are implemented in C# and generate C# code. It seemed inappropriate to make them available in Visual Basic projects.

提交回复
热议问题