Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.Reactive/Rx .NET 4.0 on Nuget

I am trying to add System.Reactive.Core to a .NET 4.0 project using VS2013 and getting the following error:

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.

I also cannot find the old Rx-Main packages anymore on nuget.org.

How can I get Rx Installed on .NET 4.0?

I guess I will have to manually go find the RxMain 2.x libs and reference them directly from a lib folder in my solution?

like image 855
Michal Ciechan Avatar asked Oct 12 '16 17:10

Michal Ciechan


1 Answers

Ok I figured it out, Rx-Main has been unlisted, therefore can only install it using the following command:

Install-Package Rx-Main -Version 2.2.5

To Rx Team: You should of recreated 2.2.5 System.Reactive which allowed us to target .NET 4.0 before moving up to 3.0.0.

like image 70
Michal Ciechan Avatar answered Oct 31 '22 17:10

Michal Ciechan