From 2e25c48a879b490a4991e354a4120bac486affcb Mon Sep 17 00:00:00 2001 From: motivity-chris <43190180+motivity-chris@users.noreply.github.com> Date: Mon, 30 Sep 2019 23:51:54 -0700 Subject: [PATCH] correct relative _WebCompilerTaskAssembly paths madskristensen/WebCompiler#351: the _WebCompilerTaskAssembly paths defined in build/BuildWebCompiler.targets are intended to be relative to that file, but may not always be interpreted as such. using $(MSBuildThisFileDirectory) ensures that they always are. --- src/WebCompiler/MSBuild/BuildWebCompiler.targets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WebCompiler/MSBuild/BuildWebCompiler.targets b/src/WebCompiler/MSBuild/BuildWebCompiler.targets index 388e61ea..0267972d 100644 --- a/src/WebCompiler/MSBuild/BuildWebCompiler.targets +++ b/src/WebCompiler/MSBuild/BuildWebCompiler.targets @@ -1,8 +1,8 @@ - <_WebCompilerTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">..\tools\netstandard2.0\WebCompiler.dll - <_WebCompilerTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">..\tools\net46\WebCompiler.exe + <_WebCompilerTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\netstandard2.0\WebCompiler.dll + <_WebCompilerTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net46\WebCompiler.exe @@ -14,4 +14,4 @@ - \ No newline at end of file +