Reputation: 13888
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?
Upvotes: 5
Views: 2530
Reputation: 13888
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.
Upvotes: 13