这个库基本上是一个API客户机,它有很多类来处理JSON响应。在尝试反序列化字符串之前,我确认API提供了JSON编码的字符串,没有问题。由于在使用包时使用了.Net标准2.0,所以我想我会尝试切换到System.Text.Json,而不是使用NewtonSoft。但是,它似乎没有在某些平台上所需的特定程序集的版本。(Exception from HRESULT: 0x80131621)"
#System.Text.Encodings.Web.dll is
我正在将我的2.2 .net核心web应用程序升级到3.1Build成功,但是swagger不加载和发送消息Failed to load API definition.,当我检查web请求时发现了这个错误
Schema cannot be generated for type System.Collections.Generic.Dictionary`2[foonamespace.fooclass,System.Collections.Generic.Dictionary`2[System.String,System.St