Creating a Xamarin Forms Project using Visual Studio

Using Xamarin forms, you can create cross-platform applications for Android, iOS, and Universal Windows Platform (UWP) using a combination of C# and XAML.

When you create a Xamarin Forms project, Visual Studio automatically creates a common Xamarin project, Android, iOS, and UWP project in the Solution Explorer.

To create a Xamarin Forms project in Visual Studio 2019, perform the following steps:

  1. On the File menu, select New, and click Project.

  2. In the Create a new project dialog box, do the following:

    Notes:

    • Select C# or All Languages from the Language list.

    • Select Windows or All Platforms from the Platform list.

    The ePortal templates are not displayed if other values are selected.

    1. Select ePortal from the Project Type list.

      The ePortal templates are displayed.

    2. Do any one of the following to select the template:

      • From the templates list, select ePortal Mobile App (Xamarin Forms), and then click Next.

      • Enter ePortal Mobile App (Xamarin Forms) in the search option, select the template from the search result, and then click Next.

  3. Optionally, change the Project name, Location, and Solution name.

    Note: If you do not select a desired Project name, Location, and Solution name, default values are selected.

  4. Click Create.

    The project appears in the Solution Explorer.

Note: If any code or logic change is made to the common project, the same change is affected in the Android, iOS, and UWP projects.