| title | Setup and Debug Desktop Applications in Syncfusion Code Studio |
|---|---|
| description | Step-by-step guide to setup and debug Desktop applications using Syncfusion Code Studio's debugging features and tools. |
| platform | syncfusion-code-studio |
| control | IDE |
| documentation | Troubleshoot |
| keywords | winforms, wpf, winui, wf, desktop-applications, debug, debugging, breakpoints |
This Guide provides Step-By-Step Instructions for Setting-Up and Debugging a Desktop Application using Code Studio
- Install the .NET SDK (version 8.0 or 9.0, depending on your project requirements) from dotnet-sdk
- Install the Windows App SDK (version 1.8.x) from windows-app-sdk (Required only for WinUI applications)
Refer this page to know more about Pre-Installed Extensions of Code Studio
Navigate to the solution and create a new solution.
Step 1: Include the new project in the solution.

Step 2:
WinForms - Create a WinForms project by selecting the WinForms template
WPF - Create a WPF project by selecting the WPF template
WinUI - Create a WinUI project by selecting the WPF template
Step 3: Specify the Programming language (Skip this step for WinUI )
Step 4: Specify the Project Name
Step 5: Specify the Folder Name
New Project will be created in the solution
Winforms
WPF
WinUI
Create a launch.json file to configure the build process
Select .NET Core Debugger
Go to "Run and Debug"and select ".NET Core Debugger (launch)"
The Debugging in Action walkthrough and the complete debugging feature reference have been moved to the Debugging Steps Reference. Please refer to that page for:
- Platform-independent debugging workflows
- Debugging keyboard shortcuts
- Feature tables and descriptions for all supported desktop UI frameworks
This ensures that you always have a single, up-to-date reference for all debugging actions in WinForms, WPF, and WinUI projects.













