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.
VS2019/VS2017 |
---|
VS2022 |
---|
Before building project you will need to restore all submodules. This command will help you to restore submodules.
git submodule update --init --recursive
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/guides/developer-guides/debugging-previewer