.NET Core Identity集成MongoDB时遭遇GuidRepresentationMode相关方法缺失异常
.NET Core Identity集成MongoDB时遭遇GuidRepresentationMode相关方法缺失异常
我最近在尝试用MongoDB替代SQL Server来实现.NET Core Identity的存储,找了个看起来适配的NuGet包,结果一上手就碰到了异常,具体错误信息如下:
System.MissingMethodException HResult=0x80131513 Message=Method not found: 'Void MongoDB.Bson.BsonDefaults.set_GuidRepresentationMode(MongoDB.Bson.GuidRepresentationMode)'. Source=MongoDbGenericRepository StackTrace: at MongoDbGenericRepository.MongoDbContext.SetGuidRepresentation(Guid
备注:内容来源于stack exchange,提问作者Age of Empires
相关产品推荐
相关产品推荐

