Updating the App.xaml.cs and the App.xaml
Open the App.xaml.cs
file and replace the content with the following code:
You can find the codes here: https://github.com/MvvmCross/MvvmCross/blob/develop/ContentFiles/UWP/App.xaml.cs.pp .
UwpApplication
is an abstract class that contains the necessary information to run the MvvmCross
framework. We can also use our customized Setup
class instead of the default Setup
class. Just keep it as simple as possible at the moment.
Now it is time to update the App.xaml
. We need to modify the XAML
code to make sure the App
class inherits from the UwpApplication
. You can find it here: https://github.com/MvvmCross/MvvmCross/blob/develop/ContentFiles/UWP/App.xaml.pp . Replace the content of the file with the following code:
Last updated