Browse Source

React to breaking change in dotnet/arcade#2753 (#10600)

Nate McMaster 6 years ago
parent
commit
2e8ae43863
1 changed files with 1 additions and 1 deletions
  1. 1 1
      eng/targets/ReferenceAssembly.targets

+ 1 - 1
eng/targets/ReferenceAssembly.targets

@@ -55,7 +55,7 @@
     </ItemGroup>
 
     <PropertyGroup>
-      <_GenAPICommand Condition="'$(MSBuildRuntimeType)' == 'core'">$(ToolHostCmd) --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"</_GenAPICommand>
+      <_GenAPICommand Condition="'$(MSBuildRuntimeType)' == 'core'">"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"</_GenAPICommand>
       <_GenAPICmd>$(_GenAPICommand)</_GenAPICmd>
       <_GenAPICmd>$(_GenAPICmd) "$(TargetPath)"</_GenAPICmd>
       <_GenAPICmd>$(_GenAPICmd) --lib-path "@(_ReferencePathDirectories)"</_GenAPICmd>