avcalc (12) [Avatar] Offline
#1
Hello,

My Initialize() method references:

RegisterAppStart<ViewModels.FirstViewModel>();

and not:

RegisterNavigationServiceAppStart<ViewModels.FirstViewModel>();


Alex.
Jim Bennett (88) [Avatar] Offline
#2
Hey Alex, thanks for the feedback. The book has recently been updated to use MvvmCross 5.2 and there are changes to the way navigation works. The MvvmCross extensions have been updated recently to support this, and the latest versions create .NET Standard apps and use the Navigation app start, which is the correct way to do navigation using MvvmCross 5.2.

You can do one of two things:

Update your extensions and start the chapter again
Change the call to use RegisterNavigationAppStart

Either way will work.
avcalc (12) [Avatar] Offline
#3
Thank you, Jim.

Updating my VS now...

Alex.
Jim Bennett (88) [Avatar] Offline
#4
If you are on VS for windows you'll need to install a new extension - there is an issue with the Marketplace where the new version had to be a new extension, not an update smilie

You can download it from https://marketplace.visualstudio.com/items?itemName=JimBobBennett.MvvmCrossforVisualStudio-19327
avcalc (12) [Avatar] Offline
#5
Thank you, Jim.

Uninstalled the old version, and installed the new one.

And keep on reading your Book...

Best,
Alex.