Search code examples
wpfxamarin.formsmvvmcross

MvvmCross and Xamarin.Forms.Wpf


I have a Xamarin app using MvvmCross. I need to add desktop support so I am trying to use Xamarin.Forms for that. Unfortunately I failed with the official TipCalc sample I've added the Wpf project to my fork of samples sources.

The problem is that class App in WPF project derives from MvvmCross.Platforms.Wpf.Views.MvxApplication which does not implements IMvxApplication.


Solution

  • Thanks guys! Take a few hours sleep and checking the Playground project solved my problem. There are multiple App classes - first in Core project which is MvxApplication, second in Forms.UI project and third in Forms.WPF.