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.

There is a newer version of this package available.
See the version list below for details.
Install-Package AvalonEdit -Version
dotnet add package AvalonEdit --version
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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.


This package has no dependencies.

Showing the top 10 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)
Create, update and deploy Nuget Packages with a GUI
Contains some simple and commonly used WPF controls
MarkPad - a visual Markdown editor (inspired by the Downmarker project)
A cross-platform C# editor based on Roslyn and AvalonEdit
Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
6.0.1 36,638 12/30/2019
6.0.0 52,663 9/24/2019
6.0.0-rc1 2,650 9/5/2019
6.0.0-preview1 7,735 7/23/2019
6.0.0-netcore3p4alpha1 8,093 5/5/2019
5.0.4 364,802 10/14/2017
5.0.3 330,020 5/18/2016
5.0.2 177,686 11/14/2014
5.0.1-pre 1,647 6/28/2014 501,010 5/1/2014 849 4/30/2014 8,064 1/23/2014 23,445 4/2/2013 1,990 3/9/2013 8,559 5/12/2012 4,797 9/24/2011 7,245 1/16/2011
Show less