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

Error installing MongoDB.Bson package from nuget

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0
    • Affects Version/s: 2.7.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Windows 10 x64, VS 2017, net core 2.1.2

      I've create an empty .Net Core console application. Then I added using NuGet:

      • MongoDB.Driver : Ok
      • MongoDB.Driver.Core: Ok
      • MongoDB.Bson: I get the following error:
      Detected package downgrade: System.Reflection.Emit.Lightweight from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.  TestMongoDb -> MongoDB.Bson 2.7.0 -> NETStandard.Library 1.6.1 -> System.Linq.Expressions 4.3.0 -> System.Reflection.Emit.Lightweight (>= 4.3.0)  TestMongoDb -> MongoDB.Bson 2.7.0 -> System.Reflection.Emit.Lightweight (>= 4.0.1)

      The package installation rolls back. There's nothing more I can do.

            Assignee:
            vincent.kam@mongodb.com Vincent Kam (Inactive)
            Reporter:
            Bodom Matteo Mosca [X]
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: