There is a newer version of this package available.
See the version list below for details.
dotnet add package AvalonEdit --version
NuGet\Install-Package AvalonEdit -Version
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="AvalonEdit" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvalonEdit --version
#r "nuget: AvalonEdit,"
#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.
// Install AvalonEdit as a Cake Addin
#addin nuget:?package=AvalonEdit&version=

// Install AvalonEdit as a Cake Tool
#tool nuget:?package=AvalonEdit&version=

AvalonEdit is the WPF-based text editor used in SharpDevelop. There are two builds of AvalonEdit included in this package. One that targets .NET 4.0 and  one that targets .NET 3.5.

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (56)

Showing the top 5 NuGet packages that depend on AvalonEdit:

Package Downloads

AvalonEdit style for the ShowMeTheXAML XamlDisplay control.


Markdown XAML processor


CodeEditor module for Gemini, providing a syntax-highlighted code editor using AvalonEdit.


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


Generic reusable WPF classes and extension methods that apply to no specific project and flavored to taste

GitHub repositories (105)

Showing the top 5 popular GitHub repositories that depend on AvalonEdit:

Repository Stars
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
Bring macOS “Quick Look” feature to Windows
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
Stride Game Engine (formerly Xenko)
Contains some simple and commonly used WPF controls
Version Downloads Last updated 224,625 3/19/2023 83,428 12/10/2022 361,307 12/28/2021 202,466 6/1/2021
6.1.1 82,943 3/15/2021
6.1.0 36,893 3/8/2021
6.1.0-preview1 110,873 9/7/2020
6.0.1 2,192,144 12/30/2019
6.0.0 234,004 9/24/2019
6.0.0-rc1 4,089 9/5/2019
6.0.0-preview1 9,504 7/23/2019
6.0.0-netcore3p4alpha1 9,459 5/5/2019
5.0.4 720,885 10/14/2017
5.0.3 841,353 5/18/2016
5.0.2 1,816,352 11/14/2014
5.0.1-pre 3,668 6/28/2014 951,795 5/1/2014 3,205 4/30/2014 11,876 1/23/2014 221,351 4/2/2013 20,845 3/9/2013 20,207 5/12/2012 10,545 9/24/2011 17,808 1/16/2011

AvalonEdit 4.3 adds support for input method editors (IME); and fixes a major bug that sometimes caused "InvalidOperationException: Trying to build visual line from collapsed line" when updating existing foldings.
AvalonEdit 4.3.1 fixes a bug in IME support - we did not properly re-enable the IME if it was disabled by another WPF control.