SetDbStatement should be available when compiling against netstandard2.0 #1784
Labels
bug
Something isn't working
comp:instrumentation.sqlclient
Things related to OpenTelemetry.Instrumentation.SqlClient
Bug Report
netstandard library imports above packages and that library is then used in a net48 project
Symptom
A clear and concise description of what the bug is.
What is the expected behavior?
SetDbStatementForStoredProcedure, SetDbStatementForText and SetDbStatement settings settable and they take effect depending on the actual runtime platform.
What is the actual behavior?
SetDbStatementForStoredProcedure, SetDbStatementForText are settable but lead to a method not found exception.
SetDbStatement is not there.
Reproduce
OTELRepo.zip
Run ConsoleApp2 in attached solution. You will get method not found exception.
The text was updated successfully, but these errors were encountered: