Create Xamarin application
22 Feb 20214 minutes to read
Syncfusion provides the Visual Studio Project Templates for the Syncfusion Xamarin platform to create the Syncfusion Xamarin Application by adding the required Syncfusion NuGet packages for the control chosen.
The Syncfusion Xamarin Project Templates are available from v188.8.131.52.
Use the following steps to create the Syncfusion Xamarin Application through the Visual Studio 2017:
Before use the Syncfusion Xamarin Project Template, check whether the Xamarin Extensions - Syncfusion installed or not in Visual Studio Extension Manager by clicking on the Tools -> Extensions and Updates -> Installed for Visual Studio 2017 or lower and for Visual Studio 2019 by clicking on the Extensions -> Manage Extensions -> Installed.
To create a Syncfusion Xamarin project, follow either one of the options below:
Click Syncfusion Menu and choose Essential Studio for Xamarin > Create New Syncfusion Project… in Visual Studio.
In Visual Studio 2019, Syncfusion menu is available under Extensions in Visual Studio menu.
Choose File > New > Project and navigate to Syncfusion > Cross-Platform > Syncfusion Xamarin Project Template in Visual Studio.
Name the Project, choose the destination location, and set the Framework of the project, and then click OK. The Project Configuration Wizard appears.
Choose the options to configure the Syncfusion Xamarin Application by using the following Project Configuration dialog, choose the Project, Android, iOS, and UWP by on/off.
Assemblies From: Load the Syncfusion Xamarin reference to Xamarin Application, either NuGet or Installed Location.
Installed location option will be available only when the Syncfusion Xamarin setup has been installed.
- Minimum Android Version: Select the oldest Android version that you want to support your application.
- Target Android Version: Select the version of Android to run your application.
- Target Device: Select the device of Xamarin.iOS project either Unified, iPhone/iPod, or iPad.
- Target Version: Choose the version of Xamarin.iOS Project.
Choose controls: Choose at least one Syncfusion control to create the Syncfusion Xamarin application.
If you want to add other Syncfusion Xamarin controls in the created Syncfusion Xamarin application, you can use our Syncfusion Xamarin toolbox
Click Create, the Syncfusion Xamarin Application has been created.
Choose any one of the project type and controls from Project Configuration Wizard.
Required Syncfusion NuGet/Assemblies and configuration have been added to the project based on the control chosen.
Net Standard /PCL
Then, Syncfusion licensing registration required message box will be shown, if you installed the trial setup or NuGet packages since Syncfusion introduced the licensing system from 2018 Volume 2 (v184.108.40.206) Essential Studio release. Navigate to the help topic, which is shown in the licensing message box to generate and register the Syncfusion license key to your project. Refer to this blog post for understanding the licensing changes introduced in Essential Studio.