c# - 如何在 Visual Studio 2012 解决方案中安装 System.Reactive 扩展?

标签 c# visual-studio-2012 system.reactive

Visual Studio 2012 的 nuget 版本 2.8.60318.667,与 Reactive.Extensions 3.1.1 不兼容。

如果手动将 System.Reactive.* 包复制到我的解决方案的包目录中,当我从 Visual Studio UI 启动包管理器时,我浏览已安装的包:而不是 habing 已安装包的列表出现以下错误显示:

error with System.Reactive packages installed “System.Reactive.Core”已经为“System.Reactive.Interfaces”定义了依赖项。 核错误

如果我使用 de package manager 命令安装包: 安装包 System.Reactive 显示以下错误: “System.Reactive 3.1.1”包需要 NuGet 客户端版本“2.8.1”或更高版本,但当前的 NuGet 版本是“2.8.60318.667”。

最佳答案

这是我从支持 here 得到的答案:

<< 如果您不能使用 System.Reactive。包,作为临时解决方法,您可以从包管理器控制台手动安装旧的 Rx-Main 包(我认为这是正确的参数):

Install-Package Rx-Main -Version 2.2.5

很遗憾,由于支持 .NET Standard 所需的打包更改,我们无法支持旧版本的 NuGet。>>

关于c# - 如何在 Visual Studio 2012 解决方案中安装 System.Reactive 扩展?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41977705/

相关文章:

wpf - Reactive Extensions (Rx) - 仅在按住某个键时订阅鼠标位置数据

c# - 文件上传导致asp.net mvc中模型状态无效

visual-studio-2010 - Visual Studio 2012 解决方案 TeamCity 中的 MSBuild

c# - 在 RX 中迭代从 IGroupedObservable 中选择的 IEnumerable

c# - 此项目(Visual Studio 2012 Express)与当前版本的 Visual Studio 2013 Express 不兼容

visual-studio-2012 - 添加到 TFS 2012 相关工作项列表

linq - 是否可以从 IronPython 脚本中使用 lambda 调用 Rx 扩展方法?

c# - 尝试通过 .NET Linq 中的 where 子句集合查找一些标签

c# - 运算符 < 未为类型 'char' 和 'integer' 定义

c# - 失败时获取 Debug.Assert 条件作为字符串