Creating the Forms.UI project
Create a Class Library(.NET Standard) project which is called MvvmCrossDemo.Form.UI by Visual Studio:
Delete the default Class1.cs file. Install the Xamarin.Forms package from the NuGet Package Manager, like this:
Or input the command below in the NuGet Manager Console:
Install-Package Xamarin.Forms
Then install MvvmCross.Forms package by the NuGet Package Manager:
You can also input the command below in your Package Manger Console:
Install-Package MvvmCross.Forms
As we mentioned before, all the UI components will be hosted in this UI project. To achieve the reusability, add the reference to the MvvmCrossDemo.Core project that we created before, like this:
Last modified 3yr ago
Copy link