[CSHARP-4389] MongoDBDriver latest version 2.18.0 breaks compiling Xamarin iOS Created: 28/Oct/22 Updated: 27/Oct/23 Resolved: 28/Oct/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Build |
| 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 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Martien Poels | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | Bug | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Quarter: | FY22YYQ4 | ||||||||
| Description |
| Comments |
| Comment by Martien Poels [ 28/Oct/22 ] |
|
Hi Dmitry, I have fixed it as suggested in my production project and that one is running now too. It had become messy because of the foreign include of the iosStuff. Thanks for helping. Happy weekend, and thanks for the excellent and rapid response. You may close the bug report and mark it as fixed. Met vriendelijke groet/with kind regards, Martien Poels [Bank 2 Loyalty] From: Dmitry Lukyanov (Jira) <jira@mongodb.org> https://jira.mongodb.org/s/en_USp8swtz-1988229788/6109/25/_/jira-logo-scaled.png Re: MongoDBDriver latest version 2.18.0 breaks compiling Xamarin iOS<https://jira.mongodb.org/browse/CSHARP-4389> This message was sent from MongoDB's issue tracking system. To respond to this ticket, please login to jira.mongodb.org<https://jira.mongodb.org> using your JIRA, MongoDB Cloud Manager, or MongoDB Atlas credentials. |
| Comment by Dmitry Lukyanov (Inactive) [ 28/Oct/22 ] |
|
The issue here is that xamarin ios doesn't correctly determine RID and try to use windows binary. This is why you see "mongocrypt.dll" (with .dll instead .dylib) in the exception. If you still see the same error message, I would suggest asking it in mentioned msbuid / mono / xamarin issues. |
| Comment by Martien Poels [ 28/Oct/22 ] |
|
Hi Dmitry, If fixed the issue in a test project, but not in my real project. However I must admit I have added the iOS section later by creating a project with the exact same name and then copied it to the target project. At least it gives an idea where to search for. Met vriendelijke groet/with kind regards, Martien Poels [Bank 2 Loyalty] From: Dmitry Lukyanov (Jira) <jira@mongodb.org> https://jira.mongodb.org/s/en_USp8swtz-1988229788/6109/25/_/jira-logo-scaled.png Re: MongoDBDriver latest version 2.18.0 breaks compiling Xamarin iOS<https://jira.mongodb.org/browse/CSHARP-4389> This message was sent from MongoDB's issue tracking system. To respond to this ticket, please login to jira.mongodb.org<https://jira.mongodb.org> using your JIRA, MongoDB Cloud Manager, or MongoDB Atlas credentials. |
| Comment by Martien Poels [ 28/Oct/22 ] |
|
Hi Dmitry, That was indeed the solution to add those two lines in the projectfile resolved the issue!! <?xml version="1.0" encoding="utf-8"?> But many thanks, now I can proceed with the project. Met vriendelijke groet/with kind regards, Martien Poels [Bank 2 Loyalty] From: Dmitry Lukyanov (Jira) <jira@mongodb.org> https://jira.mongodb.org/s/en_USp8swtz-1988229788/6109/25/_/jira-logo-scaled.png Re: MongoDBDriver latest version 2.18.0 breaks compiling Xamarin iOS<https://jira.mongodb.org/browse/CSHARP-4389> This message was sent from MongoDB's issue tracking system. To respond to this ticket, please login to jira.mongodb.org<https://jira.mongodb.org> using your JIRA, MongoDB Cloud Manager, or MongoDB Atlas credentials. |
| Comment by Dmitry Lukyanov (Inactive) [ 28/Oct/22 ] |
|
Hey martien.poels@bank2loyalty.com , this looks like the same msbuild issue as in |