Details
Description
Summary
Can not compile Xamarin ioS when MongDB.Bson.Driver is included in project
Error: error MT0009: Error while loading assemblies: /Users/user229415/Library/Caches/Xamarin/mtbs/builds/ShowPrices.iOS/684e3026490069e9d81d0578e2a798e556b400b3f827e95398229ca2c78a936b/bin/iPhoneSimulator/Debug/mongocrypt.dll.
If I downgrade to driver 2.10.4
the problem disappears. There was a bug fix in 2.11.4 but that one gives error too.
Reproduce create xamarin forms application with ios support. Add the package MongoDB.Driver, compile and voila problem.
I need that driver because I need the definitions in classes I use, the application itself does not make a mongodb connection. I can run the application using 2.10.4 but the lib that has that driver is also used elsewhere and then the most recent version is essential. So this really is a killer now!!
Environment VisualStudio: 17.3.6
Buildagent: 17.3.0.308
MacOS Ventura Xcode 13.2,1
Attachments
Issue Links
- is related to
-
CSHARP-3178 MongoDB.Driver latest version 2.11 breaks compiling Xamarin iOS
-
- Closed
-