Skip to content

AvaloniaUI/AvaloniaVS

Repository files navigation

2022 marketplace

Avalonia for Visual Studio

This repository is used to generate Avalonia Visual Studio extensions. Avalonia Visual Studio extension adds such capabilities to your Visual Studio:

  • XAML code completion.
  • XAML previewer.
  • It bundles Avalonia templates in your Visual Studio.
  • Icons for axaml files.

VSIX packages for Visual Studio

Avalonia for Visual Studio 2022

For VS2017 and VS2019 you need to download another plugin Avalonia for Visual Studio 2019

  • Latest Release supporting VS2019 is 11.5
  • Latest Release supporting VS2017 is 11.2

If you are interested in VSCode extension, visit https://github.com/AvaloniaUI/AvaloniaVSCode.

Debugging

If you want to debug Avalonia previewer extension the easiest way to do that is VS Experimental instance. To run it you simply need to set AvaloniaVS.csproj as startup project and run it,it will open VS Experimental instance,you can run here your repro and put the breakpoints in the original VS in AvaloniaVS project.

Note:

This way to debug application will only help you if your issue is directly in AvaloniaVS project,if your issue is somewhere in Avalonia code,but it is reproducible only with Avalonia Previewer please consider this article - https://docs.avaloniaui.net/docs/0.10.x/guides/developer-guides/debugging-previewer