加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c# – Mono missing System.Numerics.BigInteger.Parse(string,I

发布时间:2020-12-15 06:24:47 所属栏目:百科 来源:网络整理
导读:我正在使用 Json.NET/Newtonsoft.JSON库获取以下错误: Missing method System.Numerics.BigInteger::Parse(string,IFormatProvider) in assembly/usr/lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll,referenced in assembly
我正在使用 Json.NET/Newtonsoft.JSON库获取以下错误:
Missing method System.Numerics.BigInteger::Parse(string,IFormatProvider) in assembly
/usr/lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll,referenced in assembly ~/dev/Mono/Mercury/Mercury/bin/Debug/Newtonsoft.Json.dll

每次从couchDB数据库检索的Json都有一个数值字段时,就会发生这种情况.我从搜索中发现,库从System.Numerics调用的方法还不是implemented in Mono.

问题是Json.NET是我正在使用的另一个库的依赖(WDK.API.CouchDB [3]).

有没有什么办法可以绕过这个没有调整任何图书馆的来源?有什么建议么?

PS:我在Linux上使用Mono 3.0.6和MonoDevelop 4.0.8.我刚刚开始学习C#,这是我的第一个项目.我试图在网上搜索这个话题,没有成果.

谢谢

[3] code.google.com/p/skitsanoswdk

解决方法

Use a 4.5 version of Json.NET until Mono fix it.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读