Skip to content

Add missing package reference to System.Data.Common#4063

Draft
cheenamalhotra wants to merge 1 commit intomainfrom
dev/cheena/fix-dependency
Draft

Add missing package reference to System.Data.Common#4063
cheenamalhotra wants to merge 1 commit intomainfrom
dev/cheena/fix-dependency

Conversation

@cheenamalhotra
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 18, 2026 00:51
@github-project-automation github-project-automation bot moved this to To triage in SqlClient Board Mar 18, 2026
@cheenamalhotra cheenamalhotra added this to the 7.0.1 milestone Mar 18, 2026
@cheenamalhotra cheenamalhotra moved this from To triage to In progress in SqlClient Board Mar 18, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an explicit System.Data.Common dependency to the SqlClient build and packaging metadata so the net462 target has a direct/declared reference instead of relying on implicit or transitive resolution.

Changes:

  • Add System.Data.Common as a PackageReference for the net462 build of Microsoft.Data.SqlClient.
  • Add System.Data.Common to the netfx reference-assembly project’s package references.
  • Pin System.Data.Common centrally and declare it as a net462 dependency in the .nuspec.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tools/specs/Microsoft.Data.SqlClient.nuspec Declares System.Data.Common (4.3.0) as a net462 NuGet dependency.
src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj Adds System.Data.Common package reference for the net462 target.
src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.csproj Adds System.Data.Common package reference for the net462 reference assembly build.
Directory.Packages.props Centrally pins System.Data.Common to 4.3.0.

You can also share your feedback on Copilot code review. Take the survey.

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.11%. Comparing base (00b77cd) to head (e856b24).
⚠️ Report is 4 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (00b77cd) and HEAD (e856b24). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (00b77cd) HEAD (e856b24)
CI-SqlClient 2 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4063      +/-   ##
==========================================
- Coverage   75.42%   68.11%   -7.31%     
==========================================
  Files         280      275       -5     
  Lines       43834    66924   +23090     
==========================================
+ Hits        33060    45588   +12528     
- Misses      10774    21336   +10562     
Flag Coverage Δ
CI-SqlClient ?
PR-SqlClient-Project 68.11% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants