Error installing MongoDB.Bson package from nuget

XMLWordPrintableJSON

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

      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.

        1. image-2018-10-29-09-52-52-480.png
          5 kB
          Md Masroor Moazzem
        2. image-2018-10-29-09-58-17-541.png
          6 kB
          Md Masroor Moazzem

              Assignee:
              Vincent Kam (Inactive)
              Reporter:
              Matteo Mosca [X]
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: