From c770bbffcfd19e786cdf81f5bc7b5596cdd650c1 Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Thu, 13 Aug 2026 09:49:27 +0200 Subject: [PATCH] build: keep NuGet audit advisories as warnings in the warning freeze A CVE published against an already-referenced package must not block an unrelated hotfix deploy; advisories are handled by bumping the package. WarningsNotAsErrors NU1901-NU1904 - everything else stays fatal. Co-Authored-By: Claude Fable 5 --- Directory.Build.props | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 41fe96ac..b516ba81 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,11 +1,12 @@ + Exception: NuGet audit advisories (NU1901-NU1904) stay warnings — a CVE published + against an already-referenced package must not block an unrelated hotfix deploy; + advisories are handled by bumping the package, not by failing the build. --> true true + NU1901;NU1902;NU1903;NU1904