这个问题在这里已经有了答案:Methodnotfound'VoidNewtonsoft.Json.Serialization.DefaultContractResolver.set_IgnoreSerializableAttribute(Boolean)(3个答案)关闭8年前。我有一个ASP.netMVC应用程序,它使用由xamarin应用程序共享的可移植类库。当我的Web应用程序现在启动时,它会抛出此错误:Methodnotfound:'VoidNewtonsoft.Json.Serialization.DefaultContractResolver.set_IgnoreSerial