Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2874

Improve Snappy dll loading and/or packaging

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.18.0
    • None
    • Build
    • None
    • Minor Change

    Description

      Currently, the way Snappy is packaged results in multiple copies of the snappy64.dll being included in the nuget package (see image).

      Using more modern packaging strategies (i.e. leveraging content/contentFiles or runtime) should reduce redundant copies by at least one.

      Research will likely be needed because the official documentation is currently somewhat unsatisfactory (see https://github.com/NuGet/Home/issues/6645 and https://github.com/NuGet/Home/issues/8623). A preliminary scan of the literature suggests that we may even be able to simply use DllImport instead of using our current LibraryLoader approach, which would simplify the codebase.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: