Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is System.CoreEx.dll for Rx.NET

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?

like image 526
Joel Martinez Avatar asked Mar 01 '11 14:03

Joel Martinez


People also ask

How do I create a system core reference?

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".

What does system core do?

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.

What is Rx Net?

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.

What is reactive Programming C#?

In reactive programming, correlating events means correlating multiple observable messages into a single message that is the result of two or more original messages.


2 Answers

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.

like image 134
Richard Anthony Freeman-Hein Avatar answered Sep 18 '22 13:09

Richard Anthony Freeman-Hein


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.

like image 24
Rup Avatar answered Sep 20 '22 13:09

Rup