Fix library loading on .NET Framework for the C# libmongocrypt bindings

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Vincent Kam (Inactive)
            Reporter:
            Vincent Kam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: