You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run the following template but
<#@ template debug="true" hostspecific="false" language="C#" #>
<#@ assembly name="AutoCodeGeneration\bin\Debug\CodeGeneration.dll" #>
<#@ include file="AutoCodeGeneration\TemplateExample2.tt" #>
What I expect would be that it searches in the above SolutionDir to look for the files which do exist in that folder but when this template is run, it only looks in the relative path so clearly I'm not utilizing these command arguments correctly or there is a bug here. If anyone can please let me know if I'm doing something wrong or if this is an actual bug
The text was updated successfully, but these errors were encountered:
I see that you can run the dotnet t4 command with some options such as my example below:
dotnet t4 -v -P=$(SolutionDir) -I=$(SolutionDir) -l templateExample.tt
I run the following template but
<#@ template debug="true" hostspecific="false" language="C#" #>
<#@ assembly name="AutoCodeGeneration\bin\Debug\CodeGeneration.dll" #>
<#@ include file="AutoCodeGeneration\TemplateExample2.tt" #>
What I expect would be that it searches in the above SolutionDir to look for the files which do exist in that folder but when this template is run, it only looks in the relative path so clearly I'm not utilizing these command arguments correctly or there is a bug here. If anyone can please let me know if I'm doing something wrong or if this is an actual bug
The text was updated successfully, but these errors were encountered: