ShowViewModel missing when trying to navigate Android

In my main PCL library, I am trying to jump to a new action using ShowViewModel (); My ViewModel inherits from MvxViewModel. When I run this command, I get:

Missing method Cirrious.MvvmCross.ViewModels.MvxNavigatingObject::ShowViewModel<[1]>(IMvxBundle,IMvxBundle,MvxRequestedBy) in assembly Cirrious.MvvmCross.dll, referenced in assembly ...

ADB shows a similar message:

System.MissingMethodException: Method not found: Cirrious.MvvmCross.ViewModels.MvxNavigatingObject.ShowViewModel'

I am running MvvmCross 3.1.1. I used Visual Studio to install the base packages and Xamarin Studio to install the Android packages, since I only have the indie version of Xamarin.Android.

+4
source share
1 answer

I think Stuart's comment is correct. I uninstalled all the NuGet packages and then added them again to Xamarin Studio and it works fine.

, - NuGet Xamarin Studio vs Visual Studio. , NuGet, , NuGet.

+2

Source: https://habr.com/ru/post/1534907/


All Articles