Skip to content

[BaseTasks] Bump System.Reflection.Metadata to match Microsoft.Build 18.6.3#376

Closed
jonathanpeppers wants to merge 1 commit into
mainfrom
jonathanpeppers/bump-srm-basetasks
Closed

[BaseTasks] Bump System.Reflection.Metadata to match Microsoft.Build 18.6.3#376
jonathanpeppers wants to merge 1 commit into
mainfrom
jonathanpeppers/bump-srm-basetasks

Conversation

@jonathanpeppers
Copy link
Copy Markdown
Member

Summary

Bump SystemReflectionMetadataPackageVersion from 10.0.3 to 11.0.0-preview.1.26104.118 in MSBuildReferences.projitems.

Problem

Microsoft.Build.Tasks.Core 18.6.3 transitively requires System.Reflection.Metadata >= 11.0.0-preview.1.26104.118, but the default in MSBuildReferences.projitems was still 10.0.3. This causes NU1605 package-downgrade errors in consuming repos that do not override SystemReflectionMetadataPackageVersion (e.g. android-platform-support), which broke the internal build after the submodule bump in dotnet/android#11521.

Root cause

This should have been updated in a2ddf1a / PR #369 when MSBuild was bumped to 18.6.3, but the SRM version was missed.

…18.6.3

Microsoft.Build.Tasks.Core 18.6.3 transitively requires
System.Reflection.Metadata >= 11.0.0-preview.1.26104.118, but the
default in MSBuildReferences.projitems was still 10.0.3. This causes
NU1605 package-downgrade errors in consuming repos that do not override
SystemReflectionMetadataPackageVersion (e.g. android-platform-support).

This should have been updated in a2ddf1a / PR #369 when MSBuild was
bumped to 18.6.3.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 27, 2026 20:41
@jonathanpeppers jonathanpeppers marked this pull request as draft May 27, 2026 20:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the centralized BaseTasks MSBuild dependency versions to prevent NU1605 downgrade errors in downstream repos by aligning System.Reflection.Metadata with the transitive minimum required by Microsoft.Build.Tasks.Core 18.6.3.

Changes:

  • Bump SystemReflectionMetadataPackageVersion from 10.0.3 to 11.0.0-preview.1.26104.118 in MSBuildReferences.projitems.

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.

2 participants