Xamarin Forms: Create your first Cross Platform Xamarin App
In this article, we learn how to get started with Xamarin Forms to create a native mobile application for all major platforms. In this article, I’ll guide you how easily you can create your first Cross Platform Xamarin app.
Create a Xamarin.Forms Project with Portable Class Library (PCL).
Go to File > New Project > Visual C# > Cross -Platform > Blank App (Xamarin.Forms Portable) > Name it “HelloXamarin” and Click OK.
When the project is fully created or loaded then you will see something like this in Solution Explorer.
And Portable is the Class library where we write all our common code base for all the platforms.
Inside the Portable class Library Projects, in App.cs we can see default code which is ready to run.
Now let’s run this default project. You can run the android project in an android emulator or Windows Project in Windows devices. For iOS you need MacBook. So I am going to run in my Windows Phone Device.
Thanks, Happy Coding!