Closed thepra closed 3 years ago
Did already try that, without success. The only thing that seems to work is to install the latest driver package and the exception goes away. It's still unconvenient and not documented my resolution. Are you sure that there isn't anything that can be done in the code base?
You upgraded to the latest mongo version and the issue went away? Sounds like a solution to me.
I'll update to the latest when I get a chance or you can submit a PR if you want to help expedite the process.
Please try latest release.
As in the title I'm having this issue in my project which is based on .NET 5 and has Serilog.Sinks.MongoDB 4.1.0 Could it be that there's something to update in the library to make compatible with modern versions of MongoDB.Bson/Driver?
Ps: in the project this is the only library that pulls MongoDB.Driver/Bson, I don't have the main libraries of the DB installed.