.NET driver support for netstandard2.0

Hey, I hope I’m in the right place here.

According to DmitryLukyanovs comment here:
CSHARP-2592: Adding netstandard2.0 support to libraries by jbogard · Pull Request #377 · mongodb/mongo-csharp-driver · GitHub the netstandard2.0 support will be added in the “next” release which should be 2.10.2 and was released a few days ago.

However the driver/core/bson library still does not seem to target netstandard2.0 as to be seen on the nuget page itself: NuGet Gallery | MongoDB.Driver 2.19.0

I’ve hoped the release would shrink the dependency tree, because for now it brings a lot of them with it. (https://i.imgur.com/e19BUvg.png)

Was nuget not updated correctly, am I doing something wrong? :slight_smile:

Thanks in advance!

Hello @lmoe,

I meant the next minor release. The 2.10.2 was a patch release which usually contains only bug fixing changes. Sorry for the confusing.

2 Likes

Thinking a few steps ahead should have brought me to the same conclusion, that a bugfix version update would not introduce a new netstandard target.

Thank you for clearing this up :slight_smile: