跳到主要内容
版本:11.0.0

Install the Avalonia Extension

To implement applications using Avalonia UI, you first need to install the Avalonia for Visual Studio extension.

The extension includes a designer with an XAML pane linked to a UI preview that is capable of updating what you see, as you write XAML. The extension also installs all the library files you need, provides Intellisense, and adds some solution templates.

Follow this procedure to install the Avalonia for Visual Studio extension:

  • In Visual Studio click Manage Extensions on the Extensions top menu.
  • In the Search box, type 'Avalonia'.&
  • Click Download and follow the instructions (you will need to close Visual Studio while the VSIX installation runs).
信息

Alternatively, without running Visual Studio, you can download the extension here.

信息

If you are using VS2019 or VS2017 you will need to download the extension for older versions here.

You can now create your first Avalonia UI app.