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.
- related to
-
CSHARP-2394 Remove dependency on System.Reflection.Emit
- Closed