Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

MvvmCross System.TypeLoadException on Forms.Init with Latest Xamarin.Forms

JulianWinterJulianWinter GBMember ✭✭
edited October 2019 in Xamarin.Forms

I am trying to get a simple MVVMCross Android Application working with XamarinForms 4.x. This uses two Project Application.Core and Application.Droid.

The MVVMcross Template defaults the Core project with Android.Forms 2.3.x and this build runs OK, but the VS2019 Visual Preview designer requires 3.6 or higher version of Xamarin.Forms. But as soon as I upgrade the MVVM Core Project with XamarinForms 4.2.x I start to get System.Type.LoadException 'could not resolve type with token 01000061 from typeof(expected class....

I have tried delete bins and obj folders, clean project and restarting VS2019 to no change. Downgrading back to Android Forms 2.x. does not reconcile the problem.

Can anyone advise which MVVMcross Application development works with Android Forms and VS2019 Designer, so I can design layouts and use MVVMcross.

Sign In or Register to comment.