无法解析" System.Void Newtonsoft.Json.JsonConverterAttribute ::。ctor(System.Type)"参考来自" Newtonsoft.Json

时间:2017-09-03 20:44:57

标签: c# xamarin xamarin.forms json.net

通过this article将我的Xamarin.Forms应用程序从PCL转换为.NET Standard 1.4后,继续出现此错误。我完全不知道是什么导致它,因为单独构建项目工作正常(表单,iOS和Android项目),但当我尝试在我的设备上运行该应用程序时,此错误将从iOS项目中抛出。该组件显然被引用很好。

我在网上看到,我可能需要引用PCL版本的JSON.NET。有没有办法通过Nuget做到这一点?不确定从哪里开始。

0 个答案:

没有答案