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

Error installing MongoDB.Bson package from nuget

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.8.0
    • 2.7.0
    • Build
    • None
    • Windows 10 x64, VS 2017, net core 2.1.2

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: