Newtonsoft.Json版本问题 [英] Newtonsoft.Json versioning problem

查看:247
本文介绍了Newtonsoft.Json版本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SignalR并收到此错误。



Microsoft.AspNet.SignalR.Core,Version = 2.2.0.0,Culture = neutral, PublicKeyToken = 31bf3856ad364e35'使用



'Newtonsoft.Json,Version = 6.0.0.0,Culture = neutral,PublicKeyToken = 30ad4fe6b2a6aeed'



,其版本高于引用的程序集'Newtonsoft.Json,Version = 4.5.0.0,Culture = neutral,PublicKeyToken = 30ad4fe6b2a6aeed




在我的解决方案中安装了SignalR 2.2.0和NewtonSoft.Json 7.0.1,但仍然出现此错误。任何解决这个问题的建议。

I was working with SignalR and getting this error.

Microsoft.AspNet.SignalR.Core, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses

'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'

which has a higher version than referenced assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed


In my solution SignalR 2.2.0 and NewtonSoft.Json 7.0.1 is installed, but still getting this error. any suggestion to solve this problem.

推荐答案

解决了...安装了SignalR的早期版本,问题已经消失了..
Solved... install a previous version of SignalR and the problem has gone..


这篇关于Newtonsoft.Json版本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆