Skip to content

Latest commit

 

History

History
105 lines (57 loc) · 3.26 KB

File metadata and controls

105 lines (57 loc) · 3.26 KB
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

Prerequisites

  • 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)

Pre-Installed Extensions of Code Studio

Refer this page to know more about Pre-Installed Extensions of Code Studio

Steps to Setup a Desktop Application in Code Studio

Step 1: Create a Solution

Navigate to the solution and create a new solution.

createsolution

Add a Project to the Solution:

Step 1: Include the new project in the solution. newproject

Step 2:

WinForms - Create a WinForms project by selecting the WinForms template

winformstemplate

WPF - Create a WPF project by selecting the WPF template

wpftemplate

WinUI - Create a WinUI project by selecting the WPF template

winuitemplate

Step 3: Specify the Programming language (Skip this step for WinUI )

selectlanguage

Step 4: Specify the Project Name

createproject

Step 5: Specify the Folder Name

createfolder

New Project will be created in the solution

Winforms

winformssetup

WPF

wpfsetup

WinUI

winuisetup

Set Up Tasks for Building:

Create a launch.json file to configure the build process

createjson

Select .NET Core Debugger

selectdebugger

Build the Project

buildproject

Run the Application

Go to "Run and Debug"and select ".NET Core Debugger (launch)"

runapp

Debugging in Action & Features

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.