Reputation: 47749
This might seem like a silly question, but I downloaded the Reactive Extensions for .NET from here:
http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx
This simple example is giving me a build error:
var test = new[] { 1, 2, 4, 5 };
test.ToObservable().Subscribe(Console.WriteLine);
The compiler says:
Error 2 The type 'System.Concurrency.IScheduler' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.CoreEx, Version=1.0.2856.104, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. C:\dev\test\RxTests.cs 67 13 Test
System.CoreEx is not on the same list of assemblies as System.Reactive was ... any clues?
Upvotes: 14
Views: 7434
Reputation: 11
use Manage NuGet Package and search and install System.Reactive. obtain the path to System.Reactive.dll And there you will find
the System.CoreEx.dll and System.Interactive.dll which now you can reference as well.
Upvotes: 1
Reputation: 10650
In the latest version of Rx, System.CoreEx.dll has been removed and the contents merged with System.Reactive.dll. See the release notes for other changes.
Upvotes: 13
Reputation: 11
I had the same. Searched my system drive, but no system.coreEx.dll. Then tried to install it via VS-extention NuGet. That did the job for me.
Upvotes: 1
Reputation: 34408
It's part of the reactive package (that's the same version number as System.Reactive).
I'm surprised it's not in the .NET reference list; you can find it in C:\Program Files\Microsoft Cloud Programmability\Reactive Extensions, or it ought to be in the GAC too.
Upvotes: 3