Join GitHub today
New MongoDbContext error #61
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MongoTest.Program.(String args)
Inner Exception 1:
Thanks for reporting the issue with the stack trace. Can you please supply the version number of MongoFramework, of the MongoDB driver (in case you have a different version that what is referenced by MongoFramework) and a copy of the code that you experience this issue with?
I will need to be able to recreate the bug locally so I can fix the issue, thanks.
I've done some investigation into this and the problem seems to be the MongoDB Driver itself. That said, I can only recreate the issue with the v2.8.0 version of the driver and not v2.8.1 like you've mentioned. MongoFramework currently references v2.8.0 and maybe it is somehow still using that version rather than v2.8.1
I'm soon going to merge testing of .NET Core 3 into MongoFramework and will release a new version of MongoFramework that references v2.8.1 as I think it will solve the issues you're experiencing.
OK, the new version of MongoFramework (v0.11.0) is being validated etc on NuGet right now so should be available for download soon. There are many under-the-hood changes in this version from some pretty big updates recently but it does include changes to better target .NET Core 3 (specifically tested against Preview 5) as well as updating the MongoDB Driver dependency to v2.8.1
Can you please try out this version and let me know how that works for you?
Unfortunately if it doesn't work, there doesn't seem to be much I can do - best bet would be to raise an issue on their Jira (they don't use GitHub for issues) but when they see the stack trace, they may try to throw you back to me (though again, the issue seems to be with their code and I can't fix that).