From 64210d35924723b688c516a0878e12e645c9178b Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Tue, 17 Oct 2023 09:10:59 +0200 Subject: [PATCH 1/2] Remove stale dependencies from SqlClient The System.Security.Cryptography.Cng and System.Security.Principal.Windows packages don't ship anymore since .NET 5 and are provided by the .NETCoreApp framework implicitly. Removing dependencies to those for .NETCoreApp TFMs to stop bringing these older versions in transitively. Fixes https://github.com/dotnet/runtime/issues/93577 --- tools/specs/Microsoft.Data.SqlClient.nuspec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/specs/Microsoft.Data.SqlClient.nuspec b/tools/specs/Microsoft.Data.SqlClient.nuspec index c49973874b..0429ad011e 100644 --- a/tools/specs/Microsoft.Data.SqlClient.nuspec +++ b/tools/specs/Microsoft.Data.SqlClient.nuspec @@ -50,8 +50,6 @@ When using NuGet 3.x this package requires at least version 3.4. - - @@ -64,8 +62,6 @@ When using NuGet 3.x this package requires at least version 3.4. - - From a33856f365b987a98e8b7573b39c73a14a4d98bd Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Tue, 17 Oct 2023 09:12:15 +0200 Subject: [PATCH 2/2] Update Microsoft.Data.SqlClient.csproj --- .../netcore/src/Microsoft.Data.SqlClient.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj index 4059335f07..c094cf766d 100644 --- a/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj +++ b/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj @@ -969,7 +969,7 @@ - +