System.IObserver'1 <T0> is defined in an assembly that is not referenced. You must add an assembly link

I checked some code from the control source and get the following error when trying to build:

The type "System.IObserver`1" is defined in an assembly that is not mentioned. You must add a reference to the assembly 'System.Observable, Version = 1.0.0.204, Culture = neutral, PublicKeyToken = 31bf3856ad364e35'

So, the first port of call was at Google. Looks like I need the Rx Framework. So I downloaded the experimental version of Reactive Extensions . I installed it completely, closed VS2010 SP1, and then returned. Getting the same error.

What else do I need to do?

+5
source share
4

, System.Observable. Rx framework ...

+3

, .

0

Try downloading from NuGet. Right-click "Manage NuGet" ... Search the Web for "Rx_Exper .."

http://nuget.org/packages/Rx_Experimental-Silverlight/1.1.11111

0
source

In visual studio

  • Right-click the Links folder for your project.
  • Click Add Link ...
  • In the "Add Link" window, select "Assemblies" → "Extensions"
  • Select System.Observable from the list.
  • Click Add

Problem resolved

0
source

All Articles