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 +