csharp-netcore icon indicating copy to clipboard operation
csharp-netcore copied to clipboard

[0.7.x only] The type name 'OperationAbortedException' could not be found in the namespace 'System.Data'.

Open elafarge opened this issue 4 years ago • 0 comments

Hello, and thanks a lot for all the work on the OpenTracing integration with ASP.NET Core :)

I think I've spotted a bug when bumping to 0.7.1. I can't import the OperationAbortedException any more and have the following error:

error CS1069: The type name 'OperationAbortedException' could not be found in the namespace 'System.Data'. This type has been forwarded to assembly 'System.Data.SqlClient, Version=0.0.0.0, Culture=neutral, PublicKeyToken=REDACTED' Consider adding a reference to that assembly.

Importing System.Data.SqlClient in the *.cs files I have this error for doesn't seem to solve the problem however :/

Rolling back to 0.6.2 fixes the issue.

I'd love to contribute but I'm a bit lost on where to start. Some pointers would be highly appreciated :)

Many thanks in advance,

Regards,

-Étienne

elafarge avatar Jan 19 '21 12:01 elafarge