Skip to content

Re enable IL warnings - #7566

Merged
Nigusu-Allehu merged 1 commit into
devfrom
dev-nyenework-bring-back-IL-errors
Jul 16, 2026
Merged

Re enable IL warnings#7566
Nigusu-Allehu merged 1 commit into
devfrom
dev-nyenework-bring-back-IL-errors

Conversation

@Nigusu-Allehu

@Nigusu-Allehu Nigusu-Allehu commented Jul 15, 2026

Copy link
Copy Markdown
Member

Bug

Fixes: #7559 (comment)

Description

some of the recent RUC annotations across dotnet are finally flowing into NuGet and causing the IL warnings.

source of suppression PR: dotnet/dotnet#5791

the PR that had them suppressed was a relatively old PR so it probably did not have the some of the AOT work we have done on NuGet.Client and suppression probably made sense at that time.

This PR brings back the warnings so that we get build fails if any new AOT incompatible code is added and keeps our core libraries AOT compatible

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@Nigusu-Allehu
Nigusu-Allehu requested a review from a team as a code owner July 15, 2026 22:09
@Nigusu-Allehu
Nigusu-Allehu requested review from jebriede and zivkan July 15, 2026 22:09
@Nigusu-Allehu
Nigusu-Allehu enabled auto-merge (squash) July 15, 2026 22:09
Comment thread src/NuGet.Core/NuGet.Packaging/NuGet.Packaging.csproj
@Nigusu-Allehu
Nigusu-Allehu requested a review from zivkan July 15, 2026 23:25
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