diff --git a/run-build.ps1 b/run-build.ps1 index 4b0e5ab6d..e0e49bf4f 100644 --- a/run-build.ps1 +++ b/run-build.ps1 @@ -75,6 +75,9 @@ $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 # Don't resolve shared frameworks from user or global locations $env:DOTNET_MULTILEVEL_LOOKUP=0 +# Turn off MSBuild Node re-use +$env:MSBUILDDISABLENODEREUSE=1 + # Enable vs test console logging $env:VSTEST_BUILD_TRACE=1 $env:VSTEST_TRACE_BUILD=1 diff --git a/run-build.sh b/run-build.sh index c136667a1..93214d658 100755 --- a/run-build.sh +++ b/run-build.sh @@ -151,6 +151,9 @@ export VSTEST_TRACE_BUILD=1 # Don't resolve shared frameworks from user or global locations export DOTNET_MULTILEVEL_LOOKUP=0 +# Turn off MSBuild Node re-use +export MSBUILDDISABLENODEREUSE=1 + # Install a stage 0 INSTALL_ARCHITECTURE=$ARCHITECTURE archlower="$(echo $ARCHITECTURE | awk '{print tolower($0)}')"