Skip to content

Remove stale BundledVersion.props update - #14766

Merged
rainersigwald merged 1 commit into
dotnet:mainfrom
rainersigwald:stop-copying-bundledversions
Aug 24, 2026
Merged

rainersigwald merged 1 commit into
dotnet:mainfrom
rainersigwald:stop-copying-bundledversions

Conversation

@rainersigwald

@rainersigwald rainersigwald commented Aug 19, 2026 •

Copy link
Copy Markdown
Member

This is not necessary, as the freshly installed bootstrap base will be as up-to-date as we need, so don't overwrite it.

It was being copied from the .dotnet sdk to a local directory, then overwriting the bootstrap:

6861043:                     Copying file from "S:\msbuild\.dotnet\sdk\11.0.100-preview.7.26360.111\Microsoft.NETCoreSdk.BundledVersions.props" to "S:\msbuild\artifacts\bin\MSBuild.Bootstrap\Debug\net11.0\Microsoft.NETCoreSdk.BundledVersions.props". (TaskId:6844)
6923267:                     Copying file from "S:\msbuild\artifacts\bin\MSBuild.Bootstrap\Debug\net11.0\Microsoft.NETCoreSdk.BundledVersions.props" to "S:\msbuild\artifacts\bin\bootstrap\core\sdk\11.0.100-preview.7.26360.111\Microsoft.NETCoreSdk.BundledVersions.props". (TaskId:6872)

And it was being copied in our net472 output, where it shouldn't ever have been used (that should find an SDK and use its copy).

This is not necessary, as the freshly installed bootstrap base
will be as up-to-date as we need, so don't overwrite it.
Copilot AI lite review requested due to automatic review settings August 19, 2026 21:34

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 copying of Microsoft.NETCoreSdk.BundledVersions.props into the MSBuild.Bootstrap outputs so the bootstrap SDK layout keeps the file provided by the freshly installed/acquired SDK, avoiding unintended overwrites (and avoiding it being propagated into net472 outputs where it shouldn’t be relied on).

Changes:

  • Removed the Content Include="$(DotNetRoot)sdk\$(DotNetCliVersion)\Microsoft.NETCoreSdk.BundledVersions.props" item that copied the SDK’s BundledVersions.props into the bootstrap build output.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@rainersigwald
rainersigwald enabled auto-merge (squash) August 21, 2026 15:36
@rainersigwald
rainersigwald merged commit 3081c28 into dotnet:main Aug 24, 2026
22 of 24 checks passed
@rainersigwald
rainersigwald deleted the stop-copying-bundledversions branch August 24, 2026 11:04

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 136b59ff Deployed Aug 21, 2026 by rainersigwald via pat_pool #685
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.

3 participants