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

Improve Snappy dll loading and/or packaging

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.18.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None