From ccc70ac49e1fc406b488e2c5347c6933073b2c67 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Fri, 14 Feb 2025 16:11:41 +0100 Subject: [PATCH 1/3] React to NuGet package pruning warnings Contributes to https://github.com/dotnet/sdk/pull/46829 NuGet added a new feature that automatically prunes package and project references that are provided by the shared framework that is targeted. Resolve warnings that get emitted when building non-source-only. --- ...Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj | 1 - ...icrosoft.AspNetCore.Components.WebAssembly.DevServer.csproj | 1 - .../JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj | 2 +- .../src/Microsoft.Extensions.Logging.AzureAppServices.csproj | 2 +- .../Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj | 3 --- .../src/Microsoft.AspNetCore.SignalR.Client.Core.csproj | 2 +- src/Testing/src/Microsoft.AspNetCore.InternalTesting.csproj | 2 +- src/Tools/GetDocumentInsider/src/GetDocument.Insider.csproj | 2 +- .../src/Microsoft.dotnet-openapi.csproj | 2 -- src/Tools/dotnet-sql-cache/src/dotnet-sql-cache.csproj | 2 -- 10 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj b/src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj index fe1c0f19275e..dbc464028962 100644 --- a/src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj +++ b/src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj @@ -13,7 +13,6 @@ - diff --git a/src/Components/WebAssembly/DevServer/src/Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj b/src/Components/WebAssembly/DevServer/src/Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj index b24c6bd6ac9e..a320af38fa9c 100644 --- a/src/Components/WebAssembly/DevServer/src/Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj +++ b/src/Components/WebAssembly/DevServer/src/Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj @@ -21,7 +21,6 @@ - diff --git a/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj b/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj index 57cc0737ff21..f4027ea5fd71 100644 --- a/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj +++ b/src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj @@ -22,7 +22,7 @@ - + diff --git a/src/Logging.AzureAppServices/src/Microsoft.Extensions.Logging.AzureAppServices.csproj b/src/Logging.AzureAppServices/src/Microsoft.Extensions.Logging.AzureAppServices.csproj index 8c75d85a4ff9..d3e91be03049 100644 --- a/src/Logging.AzureAppServices/src/Microsoft.Extensions.Logging.AzureAppServices.csproj +++ b/src/Logging.AzureAppServices/src/Microsoft.Extensions.Logging.AzureAppServices.csproj @@ -18,7 +18,7 @@ - + diff --git a/src/Servers/IIS/IntegrationTesting.IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj b/src/Servers/IIS/IntegrationTesting.IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj index a3c025d7cb99..c6beee133ff7 100644 --- a/src/Servers/IIS/IntegrationTesting.IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj +++ b/src/Servers/IIS/IntegrationTesting.IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj @@ -70,9 +70,6 @@ - - - diff --git a/src/SignalR/clients/csharp/Client.Core/src/Microsoft.AspNetCore.SignalR.Client.Core.csproj b/src/SignalR/clients/csharp/Client.Core/src/Microsoft.AspNetCore.SignalR.Client.Core.csproj index 16c662419d25..93470d863615 100644 --- a/src/SignalR/clients/csharp/Client.Core/src/Microsoft.AspNetCore.SignalR.Client.Core.csproj +++ b/src/SignalR/clients/csharp/Client.Core/src/Microsoft.AspNetCore.SignalR.Client.Core.csproj @@ -33,7 +33,7 @@ - + diff --git a/src/Testing/src/Microsoft.AspNetCore.InternalTesting.csproj b/src/Testing/src/Microsoft.AspNetCore.InternalTesting.csproj index b791c1e90861..179d80bbba73 100644 --- a/src/Testing/src/Microsoft.AspNetCore.InternalTesting.csproj +++ b/src/Testing/src/Microsoft.AspNetCore.InternalTesting.csproj @@ -28,7 +28,7 @@ - +