T4 template will not transform with build

后端 未结 4 723
一个人的身影
一个人的身影 2021-01-11 09:14

I\'m using VisualStudio Ultimate 2012 (Update 1) on Windows 7. I can get my T4 template to generate a file by: right click [tt file] | run Custom tool. That works g

4条回答
  •  情深已故
    2021-01-11 09:58

    I had this problem recently in my build process (not using DTE). I resolved it by making sure I only had 1 texttransform.exe on my PC. For some reason, the IDE was using a recent version of texttransform.exe and the msbuild an older one.

提交回复
热议问题