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

Minimize dependencies for .NET Standard

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      Currently, we rely on the entirety of the .NET Standard Library.
      When migrating from two solutions to a single solution, it appears that Visual Studio automatically trimmed down our dependencies so that we were only relying on the packages in the .NET Standard Library that we were actually using, although I chose to stick with the old dependency of relying on the entire .NET Standard library.

      The downside of only relying on the subset of the .NET Standard library is that the dependencies which were previously transitive will now appears as direct dependencies.
      In other words. for .NET Standard 1.5, instead of simply depending on the .NET Standard Library, we will roughly depend somewhere between half a dozen to a dozen packages, which could be visually disorienting for users (although the dependencies should all start with `System.` which should make it clearer that these are .NET Standard libraries).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: