From 394129e334c73a66ede5a4c8aaf6b5d0ebf876bc Mon Sep 17 00:00:00 2001 From: Daniel Plaisted Date: Mon, 9 Sep 2019 15:10:06 -0700 Subject: [PATCH] Apply tool prefix to installation and restore in addition to run --- test/SdkTests/SdkTests.csproj | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/test/SdkTests/SdkTests.csproj b/test/SdkTests/SdkTests.csproj index 2a1696f8c..b479be71b 100644 --- a/test/SdkTests/SdkTests.csproj +++ b/test/SdkTests/SdkTests.csproj @@ -191,7 +191,18 @@ - + $(ToolRunPrefix)set MSBuildSDKsPath= && + $(ToolRunPrefix)set DOTNET_HOST_PATH= && + $(ToolRunPrefix)set DOTNET_INSTALLDIR= && + + + $(ToolRunPrefix)unset MSBuildSDKsPath && + $(ToolRunPrefix)unset DOTNET_HOST_PATH && + $(ToolRunPrefix)unset DOTNET_INSTALLDIR && + + + @@ -202,14 +213,12 @@ $(InstallToolCommand) --version $(SdkTestPackageVersion) $(InstallToolCommand) --add-source $(SdkTestPackageFeed) - - - - @@ -233,17 +242,6 @@ $(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipx86.xml" - - $(ToolRunPrefix)set MSBuildSDKsPath= && - $(ToolRunPrefix)set DOTNET_HOST_PATH= && - $(ToolRunPrefix)set DOTNET_INSTALLDIR= && - - - $(ToolRunPrefix)unset MSBuildSDKsPath && - $(ToolRunPrefix)unset DOTNET_HOST_PATH && - $(ToolRunPrefix)unset DOTNET_INSTALLDIR && - -