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?
Right-click on the project node again and select Edit. In the editor, copy another reference line (for example, the one for "System") and paste it below the original reference inside the same ItemGroup. Change the reference name to "System. Core".
A core, or CPU core, is the "brain" of a CPU. It receives instructions, and performs calculations, or operations, to satisfy those instructions. A CPU can have multiple cores.
Rx.NET: (this repository) The Reactive Extensions (Rx) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators.
In reactive programming, correlating events means correlating multiple observable messages into a single message that is the result of two or more original messages.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With