[CSHARP-3178] MongoDB.Driver latest version 2.11 breaks compiling Xamarin iOS Created: 08/Aug/20  Updated: 28/Oct/23  Resolved: 02/Nov/20

Status: Closed
Project: C# Driver
Component/s: Build
Affects Version/s: 2.11.0-beta1, 2.11.0-beta2, 2.11.0
Fix Version/s: 2.11.4

Type: Bug Priority: Major - P3
Reporter: Sasan Pasha Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Visual Studio 16.7.0
Xamarin.iOS 13.20.22, Xamarin 16.7.000.440


Issue Links:
Backports
backports CSHARP-3277 MongoDB.Driver latest version 2.11.4 ... Closed
Related
related to CSHARP-4389 MongoDBDriver latest version 2.18.0 b... Closed

 Description   

create a xamarin forms app, targeting iOS and Androud. as soon as the nuget is updated to the latest version 2.11, xamarin ios app won't compile with the following error 

MTOUCH : error MT0009: Error while loading assemblies: nuget/packages/mongodb.driver.core/2.11.0/runtimes/win/native/libzstd.dll

the stable working version is 2.10.4

 



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 28/Oct/22 ]

The actual reason for this issue is mono msbuild bug. See this comment for details and workaround.

Comment by Githook User [ 03/Nov/20 ]

Author:

{'name': 'DmitryLukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3178: MongoDB.Driver latest version 2.11 breaks compiling Xamarin iOS.
Branch: v2.11.x
https://github.com/mongodb/mongo-csharp-driver/commit/90bb1726b51e4371453ac7c8838708cfaad4f405

Comment by Githook User [ 02/Nov/20 ]

Author:

{'name': 'DmitryLukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3178: MongoDB.Driver latest version 2.11 breaks compiling Xamarin iOS.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/a73ed25829a1f9853bc00860dbf2c72327f4caca

Comment by Dmitry Lukyanov (Inactive) [ 30/Oct/20 ]

Hello sasan.pasha@gmail.com , we recognized the problem and fixed it. It will be included in the next patch release.

Comment by Sasan Pasha [ 23/Oct/20 ]

@jeffrey, is this timeline reasonable to you ? when do you anticipate the changes go to next version. We can't upgrade to the latest version just because of this. Please advise/

Comment by Jeffrey Yemin [ 28/Sep/20 ]

Hi sasan.pasha@gmail.com

Sorry for not getting back to you sooner on this. We will have a look as soon as time permits and get back to you with any further questions we may have.

Comment by Sasan Pasha [ 28/Sep/20 ]

@JasonWood, @Durran Jordan , any update on this - this is a serious issue and I wonder why your team is not resolving it?

Comment by Jason Wood [ 10/Sep/20 ]

I can confirm this issue. Version 2.11.0 and 2.11.1 will not compile for xamarin iOS but 2.10.4 does.

Comment by Sasan Pasha [ 17/Aug/20 ]

hi @Durran Jordan - do you have any update on the issue?

Generated at Wed Feb 07 21:44:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.