Windows Forms

Introducing the WinForms Template Studio for Visual Studio

We are excited to announce that the Syncfusion WinForms Template Studio for Visual Studio is now available as part of our Essential Studio 2023 Volume 4 release.

The WinForms Template Studio is equipped with essential Syncfusion references and preconfigured rendering code for the seamless integration of Syncfusion WinForms components into WinForms apps. It streamlines the process of creating apps by providing a user-friendly project wizard customized for the integration of these Syncfusion components.

Let’s explore the installation process of Syncfusion’s WinForms extensions and how to use the Syncfusion WinForms Template Studio in Visual Studio.

Prerequisites

To use the WinForms Template Studio, it is necessary to install the Syncfusion WinForms extensions. This can be accomplished either directly from Visual Studio or through the Visual Studio Marketplace.

Installing the Syncfusion WinForms extensions from Visual Studio

Follow these steps to install the Syncfusion WinForms extensions from Visual Studio:

  1. Open Visual Studio.
  2. Navigate to Extensions -> Manage Extensions -> Online and search for Syncfusion WinForms.
  3. Locate the WinForms Extensions –> Syncfusion item.
  4. Click the Download or Install option next to the extension.

Note: Close all Visual Studio instances before clicking Modify in the VSIX installer to install the extension. For more details, refer to the Syncfusion VS Extensions Now on the Visual Studio Marketplace blog.

Installing the Syncfusion WinForms extensions from Visual Studio Marketplace

You can also install the Syncfusion WinForms extensions from the Visual Studio Marketplace:

  1. Download the Syncfusion WinForms Extensions from the Visual Studio Marketplace.
  2. Close all the running Visual Studio instances, if any.
  3. Double-click on the downloaded extension. The VSIX installer window will open. In it, click Install.

Utilizing Syncfusion WinForms Template Studio support for Visual Studio

  1. To create a Syncfusion WinForms project, follow either one of the following options:
    • Option 1: Create WinForms projects using the Syncfusion menu in Visual Studio

      Click Extensions ->Syncfusion and choose Essential Studio for WinForms -> Create New Syncfusion Project… in Visual Studio.

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

    • Option 2: Create WinForms projects using the installed extension

      Choose File -> New -> Project. This will open a dialog to create a new project. By filtering the project type by Syncfusion or using the Syncfusion keyword in the search option, you can get the templates offered by Syncfusion for WinForms.

      Refer to the following image.

      In Visual Studio 2017, Select File-> New -> Project and navigate to Syncfusion -> Windows -> Syncfusion WinForms Template Studio in Visual Studio.

  1. Name the project, specify the project location, and then click OK. The project wizard appears.
  1. Choose from the options to configure the Syncfusion WinForms app. In the Configuration tab, select a framework version (.NET 8.0, .NET 7.0, .NET 6.0, or .NET Framework) and select a reference type, such as NuGet, GAC Location, or Installed Location, for where the assembly will be added to the project. Then, click Next.

    Note: The installed location and GAC options will be available only after the Syncfusion Essential WinForms setup has been installed. You can use NuGet instead of installing the Syncfusion Essential WinForms setup. Also, the GAC option will not be available when you choose .NET 6.0, .NET 7.0, and .NET 8.0 from the project type dropdown in Visual Studio.

  1. Now, select the required project type from the Project Type tab.
  1. In the Pages tab, select the Syncfusion WinForms controls you want to include in your app by clicking on them.
  1. Click Next or the Control Features tab to see the features of the selected controls. Then, choose the control features you need.
  1. Then, select the required app features from the App Features tab.

    Note: The App Features tab will be available when you choose .NET 6.0, .NET 7.0, or .NET 8.0 in the Configuration tab.

    Project details section

    In the Your Project details pane, you can change the project type, framework version, or reference type and remove the selected controls and app features.

  1. After choosing these project configuration options in the project configuration wizard, click the Create button. Then, the Syncfusion WinForms project will be created with the necessary files, Syncfusion WinForms assemblies, and NuGet packages.

Conclusion

Thanks for reading! In this blog, we’ve explored the new Syncfusion WinForms Template Studio for Visual Studio, available in the 2023 Volume 4 release. This user-friendly project wizard is designed to streamline the integration of Syncfusion components into your apps, automatically generating code and references, thereby eliminating the need for manual input. We encourage you to experience the wonders of this tool and share your thoughts in the blog’s comment section.

For our existing customers, we’re pleased to announce that the latest version of Essential Studio is now available for download on the License and Downloads page. If you’re new to Syncfusion, we offer a 30-day free trial for you to explore our extensive feature set. We also invite you to experiment with our samples available on GitHub.

Should you have any queries or feedback, our support forumsupport portal, or feedback portal are at your disposal. We are always here to assist you, and look forward to hearing from you!

Related blogs

Jose Seeron Anthony Pitchai

Jose Seeron has been a .NET developer in Syncfusion since 2022. He is currently working with Visual Studio extensions and Visual Studio Code extensions.