Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

New Prescribed MvvmCross Xamarin Forms installation fails.

$
0
0

Having followed the Xamarin University video, and then the MvvMCross prescribed setup method to create a Xamarin.Forms project with MvvmCross V5, both methods fail at the same spot:

Both methods prescribe changing

MvxAndroidSetup

to

MvxFormsAndroidSetup

as follows:

using Android.Content;
using MvvmCross.Core.ViewModels;
using MvvmCross.Core.Views;
using MvvmCross.Droid.Platform;
using MvvmCross.Droid.Views;
using MvvmCross.Forms.Droid;
using MvvmCross.Forms.Droid.Presenters;
using MvvmCross.Platform;
using MvvmCross.Platform.Platform;

namespace Example.Droid
{
    // public class Setup : MvxAndroidSetup
    public class Setup : MvxFormsAndroidSetup
    {

// etc

However in neither case, following the prescribed Nuget path installation, does the namespace MvvmCross.Forms.Droid get installed in the Droid project.

Hence the word MvxFormsAndroidSetup red-lines and the project doesn't compile.

Does anyone know a way around this, that is, how to install the namespace MvvmCross.Forms.Droid into the Android project?

Kind regards.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>