-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.11.0-beta1, 2.11.0-beta2, 2.11.0, 2.11.1, 2.11.2, 2.11.3, 2.11.4, 2.11.5, 2.11.6, 2.12.0, 2.12.1, 2.12.2, 2.12.3, 2.12.4, 2.12.5, 2.13.0, 2.13.1, 2.13.2, 2.13.3, 2.14.0, 2.15.0, 2.15.1, 2.16.0, 2.16.1, 2.17.0, 2.17.1, 2.18.0
-
Component/s: Build
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
- is related to
-
CSHARP-3178 MongoDB.Driver latest version 2.11 breaks compiling Xamarin iOS
- Closed