
上QQ阅读APP看书,第一时间看更新
Creating the new project
The first step is to create a new Xamarin.Forms project. Open up Visual Studio 2017 and click on File | New| Project:

This will open the New Project dialog box. Expand the Visual C# node and click on Cross-Platform. Select the Mobile App (Xamarin.Forms) item in the list. Complete the form by naming your project and click OK. Make sure to name the project DoToo to avoid namespace issues:

The next step is to select a project template and a Code Sharing Strategy to use. Select Blank App to create a bare Xamarin.Forms app and change the Code Sharing Strategy to .NET Standard. Finalize the setup by clicking OK and wait for Visual Studio to create the necessary projects:

Congratulations, we've just created our first Xamarin.Forms app!