Repository navigation
Take Source/SqlClient out of the build: the System.Data.SqlClient package has no version 11 - #325
Merged
Merged
Conversation
…kage has no version 11 The package stays out of version 11 (not packable, never published for it), so the solution, Core's InternalsVisibleTo and the Core.Tests project reference no longer carry it. Its code stays in Source/SqlClient for reference, with a short README that says so and points to Open.Database.Extensions.MSSqlClient. Tests: the cases that exercised only the System.Data.SqlClient package are dropped; each has a twin on the Microsoft.Data.SqlClient package (MSSqlClient) that stays. The parameter-binding compile tests no longer filter the legacy assembly out. Release notes and the version 11 article say the last release, 10.3.0, works with Core 10.x only. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The
System.Data.SqlClientpackage has no version 11, soSource/SqlClientleaves the build. Its code stays in the repository, for reference.Open.Database.Extensions.sln; Core'sInternalsVisibleTofor it and the Core.Tests project reference are gone; the CI format step no longer lists it. Nothing else referenced it (checkedtests.yml, the Benchmarks and samples projects,docfx.json,docsite/tools/perf/*.ps1,Directory.Build.props).Source/SqlClient/README.md: short and plain: not built, not published for version 11, last release 10.3.0, use MSSqlClient onMicrosoft.Data.SqlClient.whats-new-11.mdsays the same in a clause;docsite/api/index.mddrops the paragraph about the two packages declaring the same type names.Tests
Only cases that exercised the
System.Data.SqlClientpackage are dropped; each has a twin on theMicrosoft.Data.SqlClientpackage (MSSqlClient) that stays, so nothing is moved:AddParamIfConditionTests: the legacy command in five tests.SqlServerParameterTypeTests: the legacy command and itsSentoverload; the two literal cases only the legacy side had (0L,AddParamIfwithSqlDbType.Int) now run on the Microsoft command.NameCacheSourceTests:TwoCommands_FromOneLegacySqlServerFunction_ReadTheNamesOnce(twinTwoCommands_FromOneSqlServerFunction_ReadTheNamesOnce), its counting helper andRunAsyncoverload, and the legacy half ofANullFunction_IsRefused_BySqlServerExtensions.CaptureLibraryCommandTests,SingleResultBeforeMapTests: the legacy command in one test each.RowMapTests,ParameterBindingMatrixTests,ParameterByteZeroCompileTests: the legacy assembly leaves the assembly list and the filters that kept it out of the compile references.Core.Tests: 16279 passed (16280 before: the one dropped test).
Checks
PublicAPIfiles): Release and Debug builds 0 warnings, Core.Tests net11.0 Release 16279 passed (Debug 16258 passed, 16 skipped), VS MSBuild,dotnet formatstyle and analyzers 0 findings (the SqlClient project is no longer in the list), 267 sample checks, docfx 0 warnings. After the rebase: solution Release build 0 warnings, 0 errors.tests.ymlformat list: fixed) and test twins (every removed hunk is legacy-only with a twin on MSSqlClient).Not changed
Source/SqlClientcode, its csproj and itsIsPackable=false.Source/Extensions(the meta-package) is a separate follow-up.🤖 Generated with Claude Code