RavenDB 和 SignalR Nuget 包依赖冲突 [英] RavenDB and SignalR Nuget Package Dependency Conflict

查看:63
本文介绍了RavenDB 和 SignalR Nuget 包依赖冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本冲突.

SignalR 需要 Newtonsoft.Json 4.0.7 或更高版本,而 RavenDB 需要等于 4.0.5 的版本.这显然意味着它们不能并排安装.

SignalR wants Newtonsoft.Json version 4.0.7 or higher while RavenDB wants version equal to 4.0.5. Which obviously means they can't be installed side by side.

因此,除了从其中一个下载源代码并在本地找出依赖项,然后必须检入由此创建的二进制文件之外,是否有一种可能的方法来保持使用 NuGet 管理依赖项,也许只是转发DLL 调用(例如 Mvc 对每个新版本所做的)?

So aside from downloading the source code from one of them and getting the dependencies figured out locally then have to check in the binary created from that, is there a possible way to keep the dependencies managed with NuGet, and maybe just forward the DLL Calls (like Mvc does with each new version for example)?

推荐答案

几天前我们遇到了同样的问题,这是一个令人讨厌的问题.我们发现您无法使用 NuGet 管理依赖项.相反,我们已将 SignalR 更改为使用 4.0.5 并在本地编译.

We were running into the same issue a few days ago and this is a nasty one. We found that you can't keep the dependencies managed with NuGet. Instead, we have changed SignalR to use 4.0.5 and compiled it locally.

这篇关于RavenDB 和 SignalR Nuget 包依赖冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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