I have checked some code out of source control and am getting the following error when I try to build:
The type 'System.IObserver`1' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Observable, Version=1.0.0.204, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
So first port of call was to Google. Looks like I need the Rx Framework. So I downloaded the Reactive Extensions experimental release. I installed it completely, closed VS2010 SP1, and then went back in. Getting the same error.
What else could I need to do?
System.IObservable<T>
was added to MSCORLIB in .NET 4. Earlier pre-release (at least) Rx versions supported earlier versions of .NET. What version of .NET is the project targeting?IObserver<T>
is not the same asIObservable<T>
!System.IObserver<T>
and still applies.