Skip to content

[release/11.0-preview4] Revert "Simplify TrimmerSingleWarn intermediate assembly update using MSBuild item Update"#127676

Open
github-actions[bot] wants to merge 1 commit intorelease/11.0-preview4from
backport/pr-127656-to-release/11.0-preview4
Open

[release/11.0-preview4] Revert "Simplify TrimmerSingleWarn intermediate assembly update using MSBuild item Update"#127676
github-actions[bot] wants to merge 1 commit intorelease/11.0-preview4from
backport/pr-127656-to-release/11.0-preview4

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 2, 2026

Backport of #127656 to release/11.0-preview4

/cc @sbomer

Customer Impact

  • Customer reported
  • Found internally

Hit test failures in dependency flow: ILLink_shows_single_warning_for_packagereferences_only is failing due to an unexpected IL2026 warning for PackageReference.PackageReferenceLib.

The impact is unexpected trim warnings that should be collapsed into a single IL2104 for package references.

Regression

  • Yes
  • No

Introduced by #125630

Testing

Manual testing of the MSBuild logic confirmed the metadata update is now scoped to the intermediate assembly.

Risk

Low - this is reverting a bad cleanup change. The logic was working before the change.

@github-actions github-actions Bot requested a review from sbomer as a code owner May 2, 2026 00:39
@dotnet-policy-service dotnet-policy-service Bot added the linkable-framework Issues associated with delivering a linker friendly framework label May 2, 2026
@github-actions github-actions Bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label May 2, 2026
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @dotnet/illink
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant