I just switched to the Ultimate Release Visual Studio 2010 candidate, with Beta 2 and the T4 generator that I used , Don't work anymore. When I run it, an error message appears:
"Failed to allow text inclusion for file: path '\ L2ST4.ttinclude' must be local to this computer or part of your trusted zone."
I had it before, and it disappeared on its own, but now it has returned with a vengeance. I tried to remove the generator and add it again, but the error persists.
The included file is in the same directory as the .tt file that my generation is executing, so I'm not sure why it cannot find it. This is a line of code that refers to a file that it cannot find:
<#@ include file="L2ST4.ttinclude"#>
I have a post on the codeplex generator site, but I don’t think that this is a problem specific to this generator, I think it is a thing of T4 / Visual Studio as a whole, so I hope someone here can help me. In addition, the SO community is one of the fastest ways to get an answer, and this problem really holds me back.
source
share