Skip to content

Microsoft.Data.SqlClient 6.0 and .Net Standard #3139

@joshdean2000

Description

@joshdean2000

Discussed in #3115

Originally posted by felovala January 15, 2025
I'm puzzled by the decision to drop support for .NET Standard in the 6.0 release. This change leaves anyone with a .NET application using .NET Standard in a bind. They are now forced to choose between the deprecated System.Data.SqlClient 4.9.0 or Microsoft.Data.SqlClient 5.2, which can't be upgraded or patched due to the lack of support for .NET Standard beyond that version. It's hard to believe that, despite .NET Framework and .NET Core being maintained concurrently, the connection between the two is gradually fading away.

This is causing problems with any package developed using this but targeting .Net Standard. Now when building it generating warnings about and displaying there are issues with the reference.

This doesn't follow Microsoft recommendations, or other Microsoft libraries such as Azure SDK, Dependency Injection, etc.

You have effectively decided that anyone who using this package now has to go change from .Net Standard and make the packages target specific versions of .Net and .Net Framework.

All you need to do is look at the Used By list in NuGet.org to see those impacted by this change. This includes "Microsoft.Extensions.Caching.SqlServer".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions