问题
Riddle me this:
Can the new PCL version of Reactive Extensions be made to work with Xamarin?
If so, how?
回答1:
Nope. But check out https://github.com/mono/rx/tree/rx-oss-v2.1/Rx/NET/Source/Rx_Xamarin for versions that do work.
回答2:
Yes it is possible. At the moment, you will need to switch to the beta channel of the Xamarin tools which implement Mono 3.0. This can be done via Tools > Options > Xamarin in Visual Studio 2012.
Xamarin.Android 4.7 Information
Xamarin.iOS 6.3 Information
The ReactiveUI project should have all of the libraries that you need. Here is a link to the libraries folder on their nuget site.
来源:https://stackoverflow.com/questions/16599214/is-reactive-extensions-2-1-pcl-compatible-with-xamarin