The build issue that occurs after updating the MongoCSharpDriver
Describe the bug An error occurred when updating from mongocharpdriver-2.27 to 2.28 as below;
CS0012 The type 'ObjectId' is defined in an assembly that is not referenced. You must add a reference to assembly 'MongoDB.Bson, Version=2.13.2.0, Culture=neutral, PublicKeyToken=null'
To Reproduce Steps to reproduce the behavior:
- Go to 'Nuget Update'
- Click on 'MongoCSharpDriver 2.28.0'
Expected behavior As before, we expect it to work in concert without any problems.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- .Net Core version: [.Net Core 8.0]
- Package Version: [8.3.3]
Same issue. Just discovered this.
Pull request has been posted which should fix: https://github.com/matteofabbri/AspNetCore.Identity.Mongo/pull/128
@matteofabbri kindly review