Nuget上的System.Reactive/Rx .NET 4.0

Mic*_*han 3 .net c# .net-4.0 system.reactive visual-studio-2013

我试图System.Reactive.Core使用VS2013 添加到.NET 4.0项目并收到以下错误:

Could not install package `System.Reactive.Core 3.0.0`. 
You are trying to install this package into a project that target 
`.NETFramework,Version=v4.0`, but the package does not contain any assembly 
reference or content files that are compatible with that framework.
Run Code Online (Sandbox Code Playgroud)

我也找不到旧的Rx-Main包了nuget.org.

如何在.NET 4.0上安装Rx?

我想我必须手动找到RxMain 2.x库并直接从我的解决方案中的lib文件夹引用它们?

Mic*_*han 9

好吧我明白了,Rx-Main已经不公开,因此只能使用以下命令安装它:

Install-Package Rx-Main -Version 2.2.5

对于Rx团队:您应该重新创建2.2.5 System.Reactive,它允许我们在升级到3.0.0之前以.NET 4.0为目标.