Convert project in Angular Visual studio integration

4 Apr 20232 minutes to read

Syncfusion Angular conversion is a Visual Studio add-in that converts an existing Angular application into a Syncfusion Angular Web application.

The Syncfusion Angular Project conversion are available from v17.3.0.9.

The steps below help you to convert the Angular application to Syncfusion Angular application through the Visual Studio:

  1. Open your existing Angular application or create a new Angular application

  2. To open the Syncfusion Project Conversion Wizard, follow either one of the options below:

    Option 1:

    Choose Extensions-> Syncfusion-> Essential Studio for ASP.NET Core ->Convert Project… in Visual Studio menu.

    convert project

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

    Option 2:

    Right-click on the Angular Application from the Solution Explorer and select the Syncfusion Web and choose the Convert to Syncfusion Angular application…

    convert to syncfusion

  3. The Syncfusion Angular Project Conversion window will appear. You can choose the required version of Syncfusion Angular version, Assets from, and Themes to convert the application.

    project-conversion-wizard

    The Syncfusion Angular versions are loaded from published Syncfusion Angular NPM package versions and it requires the internet connectivity.

    The following configurations are used in the Project conversion wizard.

    Assets From: Load the Syncfusion Essential JS 2 assets to Angular Project, from either NPM, CDN, or Installed Location.

    Installed location option will be available only when the Syncfusion Essential JavaScript 2 setup has been installed.

    Choose the Theme: Choose the required theme.

  4. Check the “Enable a backup before converting” checkbox if you want to take the project backup and choose the location.

  5. Once the conversion process completed, will get the success message window.

    project-success

    if you enabled project backup before converting, the old project was saved in the specified backup path location, as shown below once the conversion process completed.

    BackupLocation

  6. The required Syncfusion Angular NPM packages with selected version, scripts and selected style are added in the application.