Make text transform file path relative to project
This commit is contained in:
parent
38117ff1e5
commit
e8339e4955
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -692,7 +692,7 @@ public abstract class VSGenericTarget : ITarget
|
||||||
foreach(TextGenNode node in project.TextGenNodes)
|
foreach(TextGenNode node in project.TextGenNodes)
|
||||||
{
|
{
|
||||||
ps.WriteLine(" <Target Name=\"Prebuild\" BeforeTargets=\"PreBuildEvent\">");
|
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>");
|
ps.WriteLine($" </Target>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue