Skip to content

Enable MSBuild node reuse for local builds - #68253

Merged
ViktorHofer merged 1 commit into
dotnet:mainfrom
wtgodbe:infrastructure/enable-msbuild-node-reuse
Aug 7, 2026
Merged

ViktorHofer merged 1 commit into
dotnet:mainfrom
wtgodbe:infrastructure/enable-msbuild-node-reuse

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Aug 6, 2026

Copy link
Copy Markdown
Member

Removes the unconditional node-reuse overrides from eng/build.ps1 and eng/build.sh, allowing Arcade defaults to enable node reuse locally while continuing to disable it on CI.

Fixes #68251.

@wtgodbe
wtgodbe marked this pull request as ready for review August 6, 2026 17:23
Copilot AI review requested due to automatic review settings August 6, 2026 17:23
@wtgodbe
wtgodbe requested a review from a team as a code owner August 6, 2026 17:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes repo-specific build-script overrides that hard-disabled MSBuild node reuse, so the build now relies on Arcade’s defaults (node reuse enabled for local builds, disabled on CI) to improve inner-loop performance and allow MSBuild Server benefits locally.

Changes:

  • Removed MSBUILDDISABLENODEREUSE=1 and related node-reuse overrides from eng/build.ps1.
  • Removed MSBUILDDISABLENODEREUSE=1 and the dead nodeReuse=false assignment from eng/build.sh.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/build.sh Drops unconditional node-reuse disabling so Arcade’s CI/local defaults apply.
eng/build.ps1 Drops unconditional node-reuse disabling so Arcade’s CI/local defaults apply.

@ViktorHofer
ViktorHofer merged commit a5ee747 into dotnet:main Aug 7, 2026
27 of 29 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build scripts hard-disable MSBuild node reuse, hurting inner-loop perf and blocking MSBuild Server

3 participants