[MONGOCRYPT-13] Fix library loading on .NET Framework for the C# libmongocrypt bindings Created: 09/Aug/19  Updated: 28/Oct/23  Resolved: 10/Aug/19

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Vincent Kam (Inactive) Assignee: Vincent Kam (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The .NET libmongocrypt wrapper fails to load mongocrypt.dll when running on .NET Framework. This is due to a difference in how libraries are loaded: for .NET Core applications, the wrapper library is loaded from ~/.nuget/packages/MongoDB.Crypt-[version], which contains the folders that contain the native libraries, whereas for .NET Framework, the wrapper is loaded from the copy of the DLL that's bundled with the builtĀ  application.


Generated at Thu Feb 08 09:07:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.