Describe the bug
In a Xamarin Forms projet, Using for the first time ReactiveUI.ViewForMixins.WhenActivated(this IActivatable @this, Action block, IViewFor view = null) generates two exceptions
System.IO.FileNotFoundException: Timeout exceeded getting exception details
System.IO.FileNotFoundException: Could not load file or assembly 'ReactiveUI.Wpf' or one of its dependencies
Steps To Reproduce
- Create new Xamarin Forms project (the starting root page should not be relevant to the issue)
- Install ReactiveUI.XamForms (problems seems present on 9.15.1 and 10.0.1-preview.3)
- Declare a view model (no property or base class required)
- Change base type of starting root page to matching ReactiveUI.XamForms one and using the view model type
- Instantiate a view model inside the starting root page constructor, and assign it to BindingContext
- Add in constructor this.WhenActivated(disposables => { });
- Ensure FileNotFoundException type is checked, in the Exception Settings window
- Run application for Android in Debug mode, using an emulator
Expected behavior
No exception happens.
Screenshots


Environment
- OS: Windows 8.1 Professional
- Version Android API 28 (emulator)
- Device: Pixel (emulator)
- IDE: Visual Studio 2019 Community 16.0.4
Additional context
Solution for reproduction
MonoReactiveUI.zip