-
Notifications
You must be signed in to change notification settings - Fork 300
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
What runtimes is SqlClientDiagnosticListener supported on? #1529
Comments
i decompiled all the microsoft.data.sqlclient.dll Looking at the csproj, it seems listener code is only included in
|
@SimonCropp I am looking into this and will update you soon. |
@JRahnama thanks. please let me know if u need more help |
@SimonCropp according to documentation diagnostic listener is only available in netcore and not .Net framework that is why we did not add it to netfx and just for netcore. |
@JRahnama thats weird given the net461 of https://www.nuget.org/packages/System.Diagnostics.DiagnosticSource/ has |
@SimonCropp we are talking internally to see if that is supported on netfx and is not added for netstandard support, Either documentation or nuget needs to be fixed. Meantime we do not support DiagnosticSource on .Net Framework at the moment. |
Closing the issue as adding DiagnosticSource to SqlClient netfx is not on the current plan. |
@JRahnama thanks for the clarrification |
When using a
DiagnosticListener.AllListeners
to subscribe to aSqlClientDiagnosticListener
it does not work for net48.Here is a runnable repo (only on windows since it is using localdb): https://github.com/SimonCropp/SqlClientDiagnosticListenerExperiments/
In the test
Subscriber.OnNext
is not called on net48.Is this expected? if so where is it documented?
this is in the context of the
Microsoft.Data.SqlClient
nugetThe text was updated successfully, but these errors were encountered: