Transforming TT files in MsBuild
Posted
by Phill Duffy
on Stack Overflow
See other posts from Stack Overflow
or by Phill Duffy
Published on 2010-03-30T09:50:59Z
Indexed on
2010/03/30
9:53 UTC
Read the original article
Hit count: 462
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
© Stack Overflow or respective owner