Home  >  Q&A  >  body text

java - 在使用nuget过程中遇到的问题

我在用vs2013开发的过程中,
一个组件依赖Newtonsoft.Json 6.0.4,而用Newtonsoft.Json 8.0.3不行;在nuget里面看到这个组件这个组件依赖项写着Newtonsoft.Json>=6.0.4可是8.0.3就是不行
而另外一个组件依赖Newtonsoft.Json 8.0.3,而用Newtonsoft.Json 6.0.4不行。
实在搞不明白Newtonsoft.Json 6.0.4里面也有JsonConvert.SerializeObject()方法,按道理我调用里面的这个方法应该没问题啊,重新生成也没问题,但是运行的时候就显示需要Newtonsoft.Json 8.0.0.0了。
请问这这种情况怎么解决啊?

迷茫迷茫2717 days ago254

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 17:52:43

    Go to http://nuget.org/ and find their project page. If you download it directly from github and change it yourself
    If not, just use .NET Reflector to serve it

    Or try installing other versions of this component

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:52:43

    50 yuan to help you solve QQ 343275968

    reply
    0
  • Cancelreply