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" />
<PackageReference Include="RoslynPad.Roslyn.Windows" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=RoslynPad.Roslyn.Windows&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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— bindsGlyphvalues toImage.SourceTaggedTextToTextBlockConverter— bindsIEnumerable<TaggedText>to display elements
For a full initialization and editor integration sample, see the samples directory.
| Product | Versions 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.
-
net8.0-windows7.0
- Microsoft.CodeAnalysis.CSharp (>= 5.3.0)
- Microsoft.CodeAnalysis.CSharp.Features (>= 5.3.0)
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 5.3.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.3.0)
- Microsoft.VisualStudio.Threading (>= 17.14.15)
- Microsoft.VisualStudio.Validation (>= 17.8.8)
- RoslynPad.Roslyn (>= 5.0.0)
- System.Composition (>= 10.0.8)
- System.Linq.AsyncEnumerable (>= 10.0.8)
- System.Reflection.Metadata (>= 10.0.8)
- System.Reflection.MetadataLoadContext (>= 10.0.8)
- System.Text.Json (>= 10.0.8)
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.
|