Skip to content

Remove RID-specific SqlClient DLLs - #4673

Open
edwardneal wants to merge 1 commit into
dotnet:mainfrom
edwardneal:pack/remove-rid-dlls
Open

edwardneal wants to merge 1 commit into
dotnet:mainfrom
edwardneal:pack/remove-rid-dlls

Conversation

@edwardneal

Copy link
Copy Markdown
Contributor

Description

In this PR, I'm removing the now-vestigial runtimes/[rid]/lib/[tfm] package paths. The binaries are always identical, so having one copy per RID no longer adds any value. A follow-up PR will deal with the notsupported project - that's probably going to be much larger, and I don't want the user-facing impact to get lost. Since that project is going to be removed anyway, I've also left its unnecessary TFM targets in situ.

I'm pushing this fix early to make sure it lands in 8.0.0 preview 1 and gets as much testing exposure as possible.

One other change appears in this: note that the XML documentation for net462 now comes from the ref project, rather than from the implementation project. This is deliberate, and it ensures that we no longer ship XML documentation for internal types. Note that lib/net462/Microsoft.Data.SqlClient.xml in v7.0.2 currently includes these and doing so makes net462 consistent with net8.0 and net9.0.

Issues

Contributes to #4239.
Fixes #903.
Fixes #3006.
Fixes #3577.

Testing

Unit tests run locally. I can reference the output nupkg via a netfx project which still uses packages.config, and by loading the DLL in lib/net462 in PowerShell.

@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Sep 10, 2026
@edwardneal
edwardneal marked this pull request as ready for review September 10, 2026 20:21
@edwardneal
edwardneal requested a review from a team as a code owner September 10, 2026 20:21
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

1 similar comment
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To triage

1 participant