开发者

Where is System.CoreEx.dll for Rx.NET

This might seem like a silly q开发者_运维知识库uestion, 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?


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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜