Remove netstandard2 dependencies from net472 build

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Unknown
    • None
    • Affects Version/s: 3.5.2
    • Component/s: Build
    • None
    • 🔵 Done
    • Dotnet Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      There are two dependencies that cause the net472 build to depend on netstandard2. The first one is Microsoft.Extensions.Logging.Abstractions 2.0.0 which is easily remedied by bumping it to 6.0.4. The next one is Snappier 1.0.0 which lacks a net472 target but it can be added easily. I have a fork here that does both.

      Doing this greatly reduces the amount of assemblies that must be merged in order to use MongoDB.Driver in a self contained net472 environment (eg SQL Server CLR).

            Assignee:
            Oleksandr Poliakov
            Reporter:
            Gordon Cowie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: