RoslynPad.Roslyn.Avalonia 5.0.0

Prefix Reserved
dotnet add package RoslynPad.Roslyn.Avalonia --version 5.0.0
                    
NuGet\Install-Package RoslynPad.Roslyn.Avalonia -Version 5.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RoslynPad.Roslyn.Avalonia" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RoslynPad.Roslyn.Avalonia" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RoslynPad.Roslyn.Avalonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RoslynPad.Roslyn.Avalonia --version 5.0.0
                    
#r "nuget: RoslynPad.Roslyn.Avalonia, 5.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RoslynPad.Roslyn.Avalonia@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RoslynPad.Roslyn.Avalonia&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RoslynPad.Roslyn.Avalonia&version=5.0.0
                    
Install as a Cake Tool

RoslynPad.Roslyn.Avalonia

Provides Avalonia-specific implementations for UI elements required by the RoslynPad.Roslyn package.

Key Types

GlyphExtensions

Converts Roslyn Glyph values to Avalonia DrawingImage.

DrawingImage? image = glyph.ToImageSource();

SymbolDisplayPartExtensions

Converts Roslyn TaggedText to Avalonia elements for rich display.

TextBlock run = taggedText.ToRun(isBold: false);
Panel panel = taggedTexts.ToTextBlock(isBold: false);

XAML Converters

  • TaggedTextToTextBlockConverter — binds IEnumerable<TaggedText> to display elements

For a full initialization and editor integration sample, see the samples directory.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (16)

Showing the top 5 NuGet packages that depend on RoslynPad.Roslyn.Avalonia:

Package Downloads
RoslynPad.Editor.Avalonia

Provides a Roslyn-based code editor using AvaloniaEdit (Avalonia platform) with completion, diagnostics, and quick actions

iPlus.gip.core.layoutengine.avui

Dual-licensed: usable under GPL-3.0-or-later or under a commercial license from iplus-framework (https://iplus-framework.com/).

iPlus.gip.core.reporthandler.avui

Dual-licensed: usable under GPL-3.0-or-later or under a commercial license from iplus-framework (https://iplus-framework.com/).

iPlus.gip.core.visualcontrols.avui

Dual-licensed: usable under GPL-3.0-or-later or under a commercial license from iplus-framework (https://iplus-framework.com/).

iPlus.gip.core.wpfservices.avui

Dual-licensed: usable under GPL-3.0-or-later or under a commercial license from iplus-framework (https://iplus-framework.com/).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 2,845 5/21/2026
4.12.1 2,293 2/7/2025
4.12.0-1.final 3,303 9/29/2024
4.8.0 2,326 11/28/2023
4.4.0 906 12/9/2022
3.6.0 1,719 7/18/2020
2.4.0 2,112 11/2/2017
2.3.2.2 1,779 9/6/2017
2.3.2.1 1,758 9/5/2017
2.3.2 2,099 9/2/2017