-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Description
The version of the dependency System.Formats.Asn1 referenced by the latest release of System.Security.Cryptography.Cng is >=5.0.0, which is now deprecated in Nuget. System.Security.Cryptography.Cng is a transitive dependency of Microsoft.EntityFrameworkCore.SqlServer, so whenever the latest version (7.0.12) of EF Core SqlServer is referenced in a project, the deprecated dependency is automatically installed.
There is a newer version of Asn1 available
If some package ranges in System.Security.Cryptography.Cng could be bumped to include the newer Asn1 package versions that would be much appreciated.
Reproduction Steps
Add <PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0" />
(or replace 5.0.0 with latest version) to a project file and run dotnet restore
. Then run dotnet list package --deprecated --include-transitive
Expected behavior
No packages returned as deprecated.
Actual behavior
System.Formats.Asn1 Version 5.0.0 returned as deprecated.
Regression?
No response
Known Workarounds
No response
Configuration
using .NET 6.0.413, Windows x64. not specific to this configuration.
Other information
No response