so I'm working on an app backend with .NET Core 1.0 and have a bunch of the work already put in. I guess it's my own fault for not checking beforehand, but apparently the latest version of MongoDB's C# driver (2.2.4) is not compatible with .NET Core 1.0?
I get errors like these for all the relevant dependencies:
The dependency MongoDB.Bson 2.2.4 does not support framework .NETCoreApp,Version=v1.0.
The version 2.3.0 has been officially released and it is compatible with .NET Core 1.0, so I guess this question is no longer relevant. https://www.nuget.org/packages/MongoDB.Driver/2.3.0
The version 2.3.0 is currently in beta and I was able to add it to my .net core app, I haven't done much work with it so I don't know the current limitations/bugs.
Add to your project.json file the dependency:
Or use the Include prerelease checkbox in the NuGet manager and search for the MongoDB.Driver.Core package.
According to this page, it seems they are close to finish it: https://jira.mongodb.org/browse/CSHARP-1177