Avalonia for Visual Studio
Avalonia is a cross-platform, XAML-based UI framework for building desktop and mobile applications with .NET.
It provides a flexible styling system and supports a wide range of Operating Systems such as Windows, Linux via Xorg, macOS, WASM, Android, and iOS.
Free trial available.
Community license available for non-commercial and personal projects.
Paid licenses include extra functionality and additional UI controls.
Avalonia for Visual Studio provides:
- Project templates to quickly create new Avalonia applications
- XAML editing assistance for
.axaml files, with IntelliSense and error highlighting
- Integrated live preview support
Get started with Avalonia at docs.avaloniaui.net.
Please use our GitHub repository for issues and discussions: https://github.com/AvaloniaUI/AvaloniaVS/issues
Changelog
12.1
- Multiple improvements to the Previewer experience, including for loading and zooming
- Fixed issue with documents not being colored
- Fixed issue with the outlining/regions not being collapsible
- Greatly improved the performance of loading completion options in large projects
- Added Document Outline support (as part of the Complete edition)
- Added Toolbox support (as part of the Complete edition)
- Added greater support for color preview swatches
- Added support for "Format on Paste"
- Added support for all Indent options
- Added additional diagnostics to help you improve XAML
- Stopped snippet completions from showing where they aren't helpful
- Updated templates to target the latest version of Avalonia packages
- Added a "Send Feedback" button to make it easier for you to share your experiences
- Improved support for signing-in on a slow connection
- Multiple other quality of life fixes
12.0.1
- Fix for handling .xaml files
12.0
- Avalonia V12 support
- Web-based Sign In
- Detachable Preview Window
- Configurable Color Scheme
- AXAML Snippet Support
- New Experimental Previewer
- Assorted bug fixes, performance improvements, and editor enhancements
11.12.2
- Support Avalonia 12.0.0-rc1
11.12.1
- Fix property completion invocation
- Don't throw if not signed in with no internet connection
11.12.0
- .NET 10 template support
- Performance improvements
- Improved editor experience
- Support for system proxy when signing in
- Authentication resiliency
- Updated supported minimum Visual Studio version (now 17.12)
- XAML styler workaround
11.11.1
- Fix completions in middle of element names
- Syntax highlight resource URLs
- Fix OnPlatform elements reporting an error
- Don't offer completions when tabbing (or spacing) within an element
- Determine the markup extension return type by inspecting the ProvideValue methods on the type
- Prevent classifier out of bounds exception.
- Handle TemplateBinding.Converter
- Fix NRE being thrown for invalid XML comments
11.11.0
- Improved performance
- Improved time to syntax highlighting
- Many bugfixes
11.10.7
- Fix error in login dialog under older Visual Studio versions
- Improve performance when a XAML file has a lot of errors
- Completion fixes related to
xmlns prefixes
- Don't invoke spurious XAML completions
- Use the latest icon
- Support
KeyGesture
- Respect
x:Class with Binding.ElementName
- Fix
x:TypeArguments on root element
- Self bindings in Setter should refer to target type
- Correctly feature-check null-conditional operator in bindings
- Fix assignment checks with VB projects
11.10.6
- Support Visual Studio 17.10 and 17.12
- Fix date in EULA
- Allow punctuation in XML prefixes
- Suggest inherited properties when typed name follows a prefix
- Don't duplicate xmlns prefix for markup extensions
- Strip unwanted line indentation from quick info comments
- Fix ArgumentOutOfBounds exception with malformed XAML
- Allow attached "Classes." syntax in setters
- Use CancellationToken when parsing XAML
- Support multiple TextDecoration values
- Don't offer completions when typing an xmlns prefix
- Support IAddChild
11.10.5
11.10.4
- New rewritten version of the Avalonia Visual Studio extension
- Enhanced IntelliSense
- Improved Quick Info
- x:DataType Quick Info
- Enhanced Error Handling and Reporting
- Go To Definition Support
- Improved Code Fixes
- Enhanced Event Handler Generation
- Automatic XAML Namespace Imports
- Whitespace Settings Compliance
- Editor Layout Persistence
Support for Older Versions
If you're using VS2019, install the legacy extension:
Avalonia for Visual Studio (legacy).