-
Notifications
You must be signed in to change notification settings - Fork 293
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable SqlDiagnosticListener on .NET Standard #1931
Enable SqlDiagnosticListener on .NET Standard #1931
Conversation
Question: Do you want me to add an explicit package reference to |
|
ac5b853
to
3d1fbd9
Compare
I started copying over the invocation code over to the netfx version, but it turned out to be too much work. There's a lot of deviation between the two sets of sources, and I'm just not familiar enough with this code to make such a mass change. It should be possible (and likely easy) for someone who's already acclimated to this project to make such improvements though. There aren't any hard blockers, as far as I can tell. I force-pushed to revert the previous attempt. Now it just focuses on .NET Standard. |
Anything I need to know about the four check failures? Looks like most of it passed just fine. |
I don't think the failures are related to your changes as we notice some intermittent failures that's happening in certain async tests which a draft PR was opened to address them. |
Oh, I just noticed that #535 actually split several other source files. I'll make a few more changes. Thanks. |
Ok, the only actual split in #535 was with Looking further at the project file, I found that all of the files that were in the SqlClient/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj Lines 517 to 524 in 85edec9
I moved them to the appropriate item groups, and everything still compiles without error. After the changes, the only files remaining in the SqlClient/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj Lines 561 to 567 in c53ab68
I'm uncertain about these. They compile on both .NET Standard 2.0 and 2.1, but if that's the case then why were they split to netcoreapp only in the first place? |
I just pushed another commit that updates the In doing so, I noticed that it was already being referenced for .NET Core. That's unnecessary, as it's already built-in there. It's only needed on the .NET Standard targets. |
e506296
to
f3f6567
Compare
f3f6567
to
5f9f224
Compare
I built the project and tested using the package reference against TF |
/azurepipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #1931 +/- ##
==========================================
- Coverage 70.82% 69.73% -1.09%
==========================================
Files 292 306 +14
Lines 61777 61661 -116
==========================================
- Hits 43752 43002 -750
- Misses 18025 18659 +634
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 78 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Enables
SqlDiagnosticListener
for .NET Standard using the existing .NET Core implementation.Fixes #1928