- Notifications
You must be signed in to change notification settings - Fork311
Merge | SqlAppContextSwitchManager#3389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Cleanup package references in common project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR moves the SqlAppContextSwitchManager file into the common project, renames its suffix from "NetCoreApp" to "netcore", and wraps the file in a conditional compilation block. It also updates the project files to clean up item groups and adjust references based on the target framework.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlAppContextSwitchManager.netcore.cs | Added a "#if NET" wrapper around the file. |
src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj | Reorganized and updated references and package items for better clarity and framework separation. |
src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj | Updated compile includes to reference the newly located file and removed the old file reference. |
codecovbot commentedJun 4, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #3389 +/- ##==========================================- Coverage 63.51% 62.17% -1.34%========================================== Files 293 291 -2 Lines 63810 63677 -133 ==========================================- Hits 40526 39592 -934- Misses 23284 24085 +801
Flags with carried forward coverage won't be shown.Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Uh oh!
There was an error while loading.Please reload this page.
4371c59
to1542764
Compare2b9870b
intomainUh oh!
There was an error while loading.Please reload this page.
Description
Very simple PR, SqlAppConextSwitchManager was moved into common project, suffix changed from NetCoreApp to netcore. File was wrapped in #if NET. Required package reference was added to common project, and I took the opportunity to clean up the item groups a bit.
Issues
More work towards#1261
Testing
Just moving stuff around, CI should provide validation.