Launch VS.
Go to File -> New -> Project.
Choose CrossPlatform -> Blank App Xamarin.Forms Portable (Portable Class Library),
Choose the Name and the Path.
Now, choose the target version.
This is our Start Project.
As we can see in the Solution Explorer, we have one Solution (Boost1.sln) and 6 Projects:
- Boost1 Portable
- Boost1.Droid
- Boost1.iOS
- Boost1.UWP
- Boost1.Windows (Windows 8.1)
- Boost1.WinPhone (Windows Phone 8.1)
This is the initial configuration of our project.
Now, we have to set some parameters,
- Go to Build -> Configuration Manager
- Check items as shown in the following picture:
If we have a Mac, the iOS configuration will be checked only.
Now, we need to implement a simple solution if we want the Start Project to be configured to Boost1.Droid. To do so, right click on the project we want to make our default project, and choose Set as Start Project.
Press CTRL + F5 (Start without debug).
You can see the layouts for Android, Windows 10 and Windows 10 Mobile, here.
OK. Now, we have a simple application in Xamarin.Forms. But, what we need to do is to customize this page. Let’s do it.
Well, now we have a customized MainPage.