Make text transform file path relative to project

This commit is contained in:
Zontreck 2023-08-10 14:06:39 -07:00
parent 38117ff1e5
commit e8339e4955
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -692,7 +692,7 @@ public abstract class VSGenericTarget : ITarget
foreach(TextGenNode node in project.TextGenNodes)
{
ps.WriteLine(" <Target Name=\"Prebuild\" BeforeTargets=\"PreBuildEvent\">");
ps.WriteLine($" <Exec Command=\"'dotnet' '$(DevEnvDir)TextTransformCore.dll' '$(ProjectDir){node.Name}'\" />");
ps.WriteLine($" <Exec Command=\"'dotnet' '$(DevEnvDir)TextTransformCore.dll' '$(ProjectDir){project.Path}\\{node.Name}'\" />");
ps.WriteLine($" </Target>");
}
}