RoslynPad.Roslyn.Windows 5.0.0

Prefix Reserved
dotnet add package RoslynPad.Roslyn.Windows --version 5.0.0
                    
NuGet\Install-Package RoslynPad.Roslyn.Windows -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.Windows" 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.Windows" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RoslynPad.Roslyn.Windows" />
                    
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.Windows --version 5.0.0
                    
#r "nuget: RoslynPad.Roslyn.Windows, 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.Windows@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.Windows&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RoslynPad.Roslyn.Windows&version=5.0.0
                    
Install as a Cake Tool

RoslynPad.Roslyn.Windows

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

Key Types

GlyphExtensions

Converts Roslyn Glyph values to WPF ImageSource.

ImageSource? image = glyph.ToImageSource();

SymbolDisplayPartExtensions

Converts Roslyn TaggedText to WPF elements for rich display.

Run run = taggedText.ToRun(isBold: false);
TextBlock block = taggedTexts.ToTextBlock(isBold: false);

XAML Converters

  • GlyphToImageSourceConverter — binds Glyph values to Image.Source
  • 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-windows7.0 is compatible.  net9.0-windows 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 (2)

Showing the top 2 NuGet packages that depend on RoslynPad.Roslyn.Windows:

Package Downloads
RoslynPad.Editor.Windows

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

Stride.Assets.Presentation

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on RoslynPad.Roslyn.Windows:

Repository Stars
stride3d/stride
Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
Version Downloads Last Updated
5.0.0 264 5/21/2026
4.12.1 19,686 2/7/2025
4.12.0-1.final 252 9/29/2024
4.8.0 10,470 11/28/2023
4.4.0 9,522 12/9/2022
3.6.0 88,824 7/18/2020
2.4.0 15,221 11/2/2017
2.3.2.2 2,993 9/6/2017
2.3.2.1 1,403 9/5/2017
2.3.2 1,618 9/2/2017