Skip to main content

Setting Up the Development Environment

This article explains how to set up the development environment necessary for developing Beutl extensions.

This guide introduces the methods using Visual Studio Code or Visual Studio.

Visual Studio Code

Installation

  1. Install the .NET SDK.
tip

Select the .NET SDK version according to the Beutl version you are targeting.
Version Compatibility Table

  1. Install Visual Studio Code for your development environment from this page.

Install Extensions in Visual Studio Code

  1. Install C# Dev Kit in Visual Studio Code.
tip

If you are developing UI extensions, install Avalonia for VSCode.

Install Extensions

Visual Studio

Windows only

Installation

  1. Download Visual Studio from this page.

  2. Open the downloaded installer.

  3. When the workload selection screen appears, open individual components.

Individual Components

  1. Select the following components.
    (This is the minimum configuration. Add as needed.)
  • .NET 10.0 Runtime
  • .NET SDK
  • NuGet Package Manager
  • C# and Visual Basic Roslyn Compilers
  • MSBuild
  • .NET Profiling Tools
  • Just-In-Time Debugger
  • C# and Visual Basic
  • IntelliCode
  1. Set the Language Pack and Installation Location, then click Install.

Install Extensions in Visual Studio

You can skip this section if you are not developing UI extensions.

  1. After installation, the following start window opens.

Visual Studio Start Window

Click Continue without code in the lower right to open the following window.

Blank Visual Studio Window

  1. From the top menu, click Extensions > Manage Extensions.

Visual Studio Manage Extensions Menu

  1. In the displayed window, install Avalonia for Visual Studio 2022.

Install Avalonia Extension in Visual Studio


The environment setup is now complete.
If any issues arise, please refer to the official documentation for Visual Studio Code or Visual Studio.