Install C# Dev Kit

Visual Studio Code requires the C# Dev Kit extension to manage, run, and debug C# code.

Before installing the C# Dev Kit extension, please ensure the following software is installed in your environment:

The following versions are used in this guide:

  • Visual Studio Code 1.109.0

  • .NET SDK 8.0.417

Follow the steps below to install the C# Dev Kit extension:

  1. Launch Visual Studio Code, then click Extensions in the Activity Bar on the left to open the Extensions view.

  2. Enter C# Dev Kit in the search box, and select the first item from the results list.

  3. Verify that the publisher of the extension is Microsoft.

  4. Click the Install button to begin the installation.

  5. After the installation is complete, restart Visual Studio Code to activate the extension.


For more information, refer to: C# Dev Kit for Visual Studio Code | Microsoft Learn.