Skip to content

[release/10.0] Fix NU1903 suppression: use NoWarn instead of WarningsNotAsErrors#66467

Merged
wtgodbe merged 1 commit intorelease/10.0from
backport/pr-66466-to-release/10.0
Apr 24, 2026
Merged

[release/10.0] Fix NU1903 suppression: use NoWarn instead of WarningsNotAsErrors#66467
wtgodbe merged 1 commit intorelease/10.0from
backport/pr-66466-to-release/10.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Backport of #66466 to release/10.0

/cc @wtgodbe

Fix NU1903 suppression: use NoWarn instead of WarningsNotAsErrors

Summary of the changes (Less than 80 chars)

Description

{Detail}

Fixes #{bug number} (in this specific format)

Customer Impact

{Justification}

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

[Justify the selection above]

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

WarningsNotAsErrors does not prevent NuGet restore from promoting
audit warnings to errors — NuGet has its own WarningsAsErrors
mechanism. Switch to NoWarn which suppresses the warning at all
stages including restore.

This fixes the internal pipeline which has been 100% broken for
48+ hours despite the previous fix in #66423.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot requested review from a team and wtgodbe as code owners April 24, 2026 19:45
@github-actions github-actions Bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Apr 24, 2026
@wtgodbe wtgodbe added the tell-mode Indicates a PR which is being merged during tell-mode label Apr 24, 2026
@wtgodbe wtgodbe merged commit 53e7617 into release/10.0 Apr 24, 2026
28 checks passed
@wtgodbe wtgodbe deleted the backport/pr-66466-to-release/10.0 branch April 24, 2026 22:52
@dotnet-policy-service dotnet-policy-service Bot added this to the 10.0.8 milestone Apr 24, 2026
@wtgodbe wtgodbe modified the milestones: 10.0.8, 10.0.9 Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant