Newtonsoft.Json [8.0.3,)'在项目中不存在

时间:2016-07-10 14:23:59

标签: xamarin

虽然安装了Newtonsoft.Json 9.0.0.0,但在尝试添加col-md-4 nuget时会出现此错误(取决于Newtonsoft.Json> = 8.0.3)

这是我得到的:

Delete From tablename t
Where Exists  
(Select * from table   
 Where charIndex(t.Code, Code) !=0)  

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

.nuspec 1.2.2的Xam.Plugin.PushNotification包括:

<dependency id="Newtonsoft.Json" version="8.0.3" />

因此,在解析依赖项Newtonsoft.Json [8.0.3, )时,如果安装了Newtonsoft.Json 9.0.0,它将失败,因为 SemVer Major 版本已更改,这将是一个重大变化。< / p>

http://docs.nuget.org/Create/Versioning

http://semver.org/spec/v1.0.0.html