Create UWP application

25 Mar 20223 minutes to read

Syncfusion provides the Visual Studio Project Templates for the Syncfusion UWP platform to create the Syncfusion UWP Application adding required Syncfusion assemblies/NuGet based on the control chosen.

IMPORTANT

The Syncfusion UWP project templates are available from v15.3.0.26.

Use the following steps to create the Syncfusion UWP project through the Visual Studio Project Template:

Before use the Syncfusion UWP Project Template, check whether the UWP Extensions - Syncfusion installed or not in Visual Studio Extension Manager by clicking on the Extensions -> Manage Extensions -> Installed for Visual Studio 2019 or later and for Visual Studio 2017 Tools -> Extensions and Updates -> Installed.

  1. To create a Syncfusion UWP project, follow either one of the options below:

    Option 1:
    Click Syncfusion Menu and choose Essential Studio for UWP > Create New Syncfusion Project… in Visual Studio.

    Choose Syncfusion Universal Windows Application from Visual Studio new project dialog via Syncfusion menu

    NOTE

    In Visual Studio 2017, you can see the Syncfusion menu directly in the Visual Studio menu.

    Choose Syncfusion Universal Windows Application from Visual Studio new project dialog via Syncfusion menu

    Option 2:
    Choose File -> New -> Project. Opens a new dialog to create a new project. By filtering the project type with Syncfusion or using the Syncfusion keyword in the search option, you can get the templates offered by Syncfusion for UWP.

    Choose Syncfusion Universal Windows Application from Visual Studio new project dialog

    NOTE

    In Visual Studio 2017, Choose File > New > Project and navigate to Syncfusion > Windows Universal > Syncfusion Universal Windows Application.

    Choose Syncfusion Universal Windows Application from Visual Studio new project dialog

  2. Name the Project and choose the destination location if required, then click OK.

  3. Then Project Configuration Wizard appears. Choose the options to configure the Syncfusion Universal Windows Application by using the following Project Configuration dialog.

    Project configurations

    Language: Select the language, either Visual C# or Visual Basic.

    Reference Type: Select the reference type of UWP Project, NuGet, Assemblies, or SDK.

    Target Version: Choose the Target Version of the UWP platform that your project is targeting. This sets the TargetPlatformVersion setting in your project file.

    Minimum Version: Choose the Minimum Version of the UWP platform that your project can work with. This sets the TargetPlatformMinVersion setting in your project file.

    Template Type: Select the template type of UWP Project, either Blank or Hamburger Menu or Hamburger Menu (MVVM).

    Components: Choose the required Syncfusion components to configure.

    Syncfusion UWP Project configuration wizard

    NOTE

    If SDK is chosen as the reference type, then all the Syncfusion UWP controls will be added. So, you no need to select any components.

  4. After click Create button, the Syncfusion UWP Application is created with required SDK/references and pages.

    Syncfusion UWP Project created with SDK reference

    Syncfusion UWP Project created with readme

  5. 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 (v16.2.0.41) 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.

    Syncfusion license registration required information dialog in Syncfusion UWP Project