Skip to content

Remove System.Data.SqlClient from MWC dependencies#5331

Merged
ViktorHofer merged 2 commits into
dotnet:mainfrom
cheenamalhotra:remove-sds-reference
Oct 13, 2025
Merged

Remove System.Data.SqlClient from MWC dependencies#5331
ViktorHofer merged 2 commits into
dotnet:mainfrom
cheenamalhotra:remove-sds-reference

Conversation

@cheenamalhotra

@cheenamalhotra cheenamalhotra commented Oct 10, 2025

Copy link
Copy Markdown
Member

This PR removes the System.Data.SqlClient package from MWC package dependencies as its declared deprecated and its DLL is on path to be removed from the NuGet package, see ref: dotnet/SqlClient#2778

SDS After .NET 8 EOL will:

  • Remove support for .NET 8 users (the .NET 8 library will be removed).
  • Maintain support for .NET Framework 4.6.2+ users.
  • Security servicing will be provided via .NET Framework, not the package, at that point.
  • We do not expect to update the package again after this point.
  • We will not mark the package as deprecated since it will only support .NET Framework users with an implementation provided by .NET Framework.

Future versions of .NET should not be taking a dependency on SDS as they are no longer supported and all its public APIs are marked [Obsolete] in .NET 9 onwards.

cc @David-Engel @imasud00 @ViktorHofer @ericstj

TODO: Need to work on a Breaking Change request.

@cheenamalhotra cheenamalhotra requested a review from a team as a code owner October 10, 2025 23:57
@cheenamalhotra cheenamalhotra requested review from ViktorHofer and ericstj and removed request for a team October 10, 2025 23:57
@cheenamalhotra cheenamalhotra requested a review from a team October 11, 2025 00:01

@merriemcgaw merriemcgaw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ViktorHofer

Copy link
Copy Markdown
Member

@cheenamalhotra is this removal and breaking change intended to ship as part of .NET 10? If so then this would need to get ported into release/10.0. Note that we are already very close to producing the GA release.

@ViktorHofer

Copy link
Copy Markdown
Member

cc @artl93

@ericstj

ericstj commented Oct 13, 2025

Copy link
Copy Markdown
Member

@cheenamalhotra and I discussed this being pretty late for .NET 10, but wanted to get it in at the start of .NET 11.

@ViktorHofer ViktorHofer merged commit 820cf9f into dotnet:main Oct 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants