JetBrains Rider plugin for Avalonia development
582
stars
866
commits
Kotlin
primary language
Sep 9, 2026
updated
Either search for Avalonia on the Plugins settings page or visit the Plugin Marketplace.
To install a development release (automatically published for every push into a development branch), first add the custom plugin repository into your IDE (see the documentation on how to do that).
Custom plugin repository address:
https://plugins.jetbrains.com/plugins/dev/14839
Then, install the plugin as usual via the IDE plugin settings screen.
Make sure your Avalonia project is built, open an XAML file, and you'll see an XAML preview in Rider.

It's possible to interact with the previewer using the mouse, and zoom with Ctrl+Scroll Wheel.
There's a separate button to debug the previewer process for the current file, but it's hidden by default. To enable that feature, go to the Avalonia settings page in Rider and enable the Developer mode checkbox.
Right-click a directory or an Avalonia-enabled project and choose among the available file templates:
Type in an editor to use Live templates:
attachedAvaloniaPropertyavaloniaRoutedEvent,directProperty,styledProperty.First, for each of the previewer editors you have a choice which project the editor should bind to. The previewer needs some runnable project to work because it observes the UI of your components from the perspective of the project.
Navigate to Settings → Languages & Frameworks → Avalonia to see more solution-wide settings.
Previewer method: either the bitmap-based AvaloniaRemote (default) or the browser-based Html.
Synchronize the current run configuration and selected project, when possible: if enabled, then the plugin will try to switch the current project when you switch the active run configuration, if the plugin is able to figure out which project is used by the configuration.
Use a shadow copy of the output assemblies to run the previewer: when starting the previewer, will copy all the files from the bin directory to a separate place and use them to work with the previewer.
This will prevent the previewer from locking the assemblies from the original place.
FPS limit allows limiting the FPS (and thus the CPU usage) of the AvaloniaRemote previewer. By default, the previewer tries to provide smooth animation support, which might be unwanted at times.
Previewer working directory allows you to choose under which directory the previewer should execute:
$(RunWorkingDirectory) MSBuild property (or, generally, what Rider considers the default for the selected project);If you with to override the working directory, you may modify your project file as follows:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- … -->
<!-- Add this new line! -->
<RunWorkingDirectory>H:\Your\Custom\Work\Directory</RunWorkingDirectory>
</PropertyGroup>
<!-- … -->
</Project>
Applicable elements for theme injnection (by default <Window> and <UserControl>).
Default theme for theme injection.
Dark theme and light theme markup for injection. These XML snippets will be injected directly after the first tag in the XAML markup.
By default, these control the RequestedThemeVariant style property.
There are also some IDE-wide settings (not tied to a particular solution):
Design.IsDesignTime).Kotlin
93.3%
C#
5.4%
PowerShell
1.3%
JetBrains Rider plugin for Avalonia development
582
stars
866
commits
Kotlin
primary language
Sep 9, 2026
updated
Either search for Avalonia on the Plugins settings page or visit the Plugin Marketplace.
To install a development release (automatically published for every push into a development branch), first add the custom plugin repository into your IDE (see the documentation on how to do that).
Custom plugin repository address:
https://plugins.jetbrains.com/plugins/dev/14839
Then, install the plugin as usual via the IDE plugin settings screen.
Make sure your Avalonia project is built, open an XAML file, and you'll see an XAML preview in Rider.

It's possible to interact with the previewer using the mouse, and zoom with Ctrl+Scroll Wheel.
There's a separate button to debug the previewer process for the current file, but it's hidden by default. To enable that feature, go to the Avalonia settings page in Rider and enable the Developer mode checkbox.
Right-click a directory or an Avalonia-enabled project and choose among the available file templates:
Type in an editor to use Live templates:
attachedAvaloniaPropertyavaloniaRoutedEvent,directProperty,styledProperty.First, for each of the previewer editors you have a choice which project the editor should bind to. The previewer needs some runnable project to work because it observes the UI of your components from the perspective of the project.
Navigate to Settings → Languages & Frameworks → Avalonia to see more solution-wide settings.
Previewer method: either the bitmap-based AvaloniaRemote (default) or the browser-based Html.
Synchronize the current run configuration and selected project, when possible: if enabled, then the plugin will try to switch the current project when you switch the active run configuration, if the plugin is able to figure out which project is used by the configuration.
Use a shadow copy of the output assemblies to run the previewer: when starting the previewer, will copy all the files from the bin directory to a separate place and use them to work with the previewer.
This will prevent the previewer from locking the assemblies from the original place.
FPS limit allows limiting the FPS (and thus the CPU usage) of the AvaloniaRemote previewer. By default, the previewer tries to provide smooth animation support, which might be unwanted at times.
Previewer working directory allows you to choose under which directory the previewer should execute:
$(RunWorkingDirectory) MSBuild property (or, generally, what Rider considers the default for the selected project);If you with to override the working directory, you may modify your project file as follows:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- … -->
<!-- Add this new line! -->
<RunWorkingDirectory>H:\Your\Custom\Work\Directory</RunWorkingDirectory>
</PropertyGroup>
<!-- … -->
</Project>
Applicable elements for theme injnection (by default <Window> and <UserControl>).
Default theme for theme injection.
Dark theme and light theme markup for injection. These XML snippets will be injected directly after the first tag in the XAML markup.
By default, these control the RequestedThemeVariant style property.
There are also some IDE-wide settings (not tied to a particular solution):
Design.IsDesignTime).Kotlin
93.3%
C#
5.4%
PowerShell
1.3%