Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-13

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            vincent.kam@mongodb.com Vincent Kam (Inactive)
            vincent.kam@mongodb.com Vincent Kam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: