Text Template: $(IncludeFolderTemplates) not evaluated Follow
Hello,
in Rider the following line
<#@ include file="$(IncludeFolderTemplates)\ContextBasis.ttinclude" #>
throws an error:
C:\Entwicklung.GIT\Schwermetall\Schwermetall.DatenService\HR\Schwermetall.DatenService.Schichtberichte\WebApi\Context\ContextBasis.tt(11,4) : error : Fehler beim Laden der Includedatei "$(IncludeFolderTemplates)\ContextBasis.ttinclude". Die Transformation wird nicht ausgefhrt. Die folgende Ausnahme wurde ausgel”st:
System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Entwicklung.GIT\Schwermetall\Schwermetall.DatenService\HR\Schwermetall.DatenService.Schichtberichte\WebApi\Context\$(IncludeFolderTemplates)\ContextBasis.ttinclude" konnte nicht gefunden werden.
With "VS 2019" $(IncludeFolderTemplates) will evaluated to "C:\Entwicklung.GIT\Schwermetall\Templates", which is expected.
mfG
Helmut Basler
Please sign in to leave a comment.
Helmut,
At the moment Rider uses a command line utility TextTransform.exe, which, unfortunately, doesn't support that. We have plans to implement that in future versions, but there is no ETA so far. Please watch and upvote the corresponding feature request: https://youtrack.jetbrains.com/issue/RIDER-5687