Skip to content

Rx 2.2 beta and Xamarin.Android #2

@danielcweber

Description

@danielcweber

If I add Rx-Linq (and consequently Rx-Core and Rx-Interfaces) to a Xamarin.Android project, NuGet adds the dlls from "packages\Rx-xyz.2.2.1-beta\lib\portable-windows8+net45+wp8". I guess that denotes Profile 78 and Xamarin.Android is supported by that profile.

However, the build fails: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Runtime.InteropServices.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?

The reference to System.Runtime.InteropServices.WindowsRuntime is due to System.Reactive.Linq. If it's really profile 78, should it reference that library?

On the other hand: If I add another PCL-project with profile 78 to the solution and add Rx-Linq to it, the same System.Reactive.Liq.dll from the same location is used - it builds just fine.

So this might as well be a problem with the Xamarin Linker, but should the reference to System.Runtime.InteropServices.WindowsRuntime not be there in the first place ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions