Do not compile t4 file
Posted
by
brian b
on Stack Overflow
See other posts from Stack Overflow
or by brian b
Published on 2010-12-20T17:57:31Z
Indexed on
2010/12/25
14:54 UTC
Read the original article
Hit count: 350
Suddenly, after doing a TFS 2010 get, Visual Studio 2010 is attempting to compile my .tt file as if it was c#.
Moreover, anytime I set it to "Build Action=None", Build Action gets mysteriously reset to Compile. This is breaking our builds on the desktop. I can get builds to work on the desktop by closing then reopening VS.
Our builds on TFS are totally broken because of this. What to do?
The template generates a (totally ok) c# file, so I need the project to build.
I tried changing the file extension from .tt to .donotbuilddammit but that had no effect.
© Stack Overflow or respective owner