From 7eeb1ab91a29ff3bb849a28adc3fd8919344f8d7 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Mon, 10 Feb 2025 14:54:25 +0100 Subject: [PATCH] NoWarn NuGet package pruning warnings Contributes to https://github.com/dotnet/sdk/pull/46642 NuGet added a new feature that automatically prunes package and project references that are provided by the shared framework that is targeted. NoWarn the new warnings as SBRP packages should be a mirror of the source-shipping packages and not change dependencies. --- src/referencePackages/Directory.Build.props | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/referencePackages/Directory.Build.props b/src/referencePackages/Directory.Build.props index 4482751a21..f3a6b737fe 100644 --- a/src/referencePackages/Directory.Build.props +++ b/src/referencePackages/Directory.Build.props @@ -107,6 +107,10 @@ $(NoWarn);RS1025 $(NoWarn);RS1026 + + + $(NoWarn);NU1510;NU1511