Transforming TT files in MsBuild
- by Phill Duffy
I need to build a DSL Solution using MsBuild and want to be able to transform the TT files, I have tried the guide on http://msdn.microsoft.com/en-us/library/ee847423(VS.100).aspx but I am getting the following errors:
Failed to resolve include text for file:{0}
and also
Loading the include file '{0}'
returned a null or empty string.
There is a page on MSDN which has these issues and there resolutions : http://msdn.microsoft.com/en-us/library/bb126242(VS.100).aspx but don't really give me enough information to resolve the issue.
One thing to note in the error it has the following path:
Error 72 Failed to resolve include
text for
file:C:\source\XXXXXXXX\Dsl\GeneratedCode\Dsl\ToolboxHelper.tt.
Line=-1, Column=-1 Dsl
but the location of the actual TT file is
C:\source\XXXXXXXX\Dsl\GeneratedCode\ToolboxHelper.tt