Skip to content

Commit a5ee747

Browse files
wtgodbeCopilot
andauthored
Enable MSBuild node reuse for local builds (#68253)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a728d98 commit a5ee747

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

eng/build.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,6 @@ $performDotnetBuild = $msBuildEngine -ne 'vs' -and ($BuildJava -or $BuildManaged
341341
# Initialize global variables need to be set before the import of Arcade is imported
342342
$restore = $RunRestore
343343

344-
# Though VS Code may indicate $nodeReuse is unused, tools.ps1 uses them.
345-
346-
# Disable node reuse - Workaround perpetual issues in node reuse and custom task assemblies
347-
$nodeReuse = $false
348-
$env:MSBUILDDISABLENODEREUSE=1
349-
350344
# Ensure passing neither -bl nor -nobl on CI avoids errors in tools.ps1. This is needed because both parameters are
351345
# $false by default i.e. they always exist. (We currently avoid binary logs but that is made visible in the YAML.)
352346
if ($CI -and -not $excludeCIBinarylog) {

eng/build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,6 @@ fi
362362
# Initialize global variables need to be set before the import of Arcade is imported
363363
restore=$run_restore
364364

365-
# Disable node reuse - Workaround perpetual issues in node reuse and custom task assemblies
366-
nodeReuse=false
367-
export MSBUILDDISABLENODEREUSE=1
368-
369365
# Ensure passing neither --bl nor --nobl on CI avoids errors in tools.sh. This is needed because we set both variables
370366
# to false by default i.e. they always exist. (We currently avoid binary logs but that is made visible in the YAML.)
371367
if [[ "$ci" == true && "$exclude_ci_binary_log" == false ]]; then

0 commit comments

Comments
 (0)