AnvilEco.AppConsole.UI
1.0.0-preview.17
This is a prerelease version of AnvilEco.AppConsole.UI.
dotnet add package AnvilEco.AppConsole.UI --version 1.0.0-preview.17
NuGet\Install-Package AnvilEco.AppConsole.UI -Version 1.0.0-preview.17
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="AnvilEco.AppConsole.UI" Version="1.0.0-preview.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AnvilEco.AppConsole.UI" Version="1.0.0-preview.17" />
<PackageReference Include="AnvilEco.AppConsole.UI" />
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 AnvilEco.AppConsole.UI --version 1.0.0-preview.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AnvilEco.AppConsole.UI, 1.0.0-preview.17"
#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 AnvilEco.AppConsole.UI@1.0.0-preview.17
#: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=AnvilEco.AppConsole.UI&version=1.0.0-preview.17&prerelease
#tool nuget:?package=AnvilEco.AppConsole.UI&version=1.0.0-preview.17&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Anvil Windows Console
A reusable Windows Forms console control for .NET applications.
AppConsole.UI
AppConsole.UI provides a UserControl that wraps a RichTextBox with a toolbar for clearing, copying, and aborting long-running console output. It is useful for desktop applications that need an embedded console view.
Features
- Append colored text (default, info, warning, success, danger)
- Clear and copy console content
- Abort button with
ConsoleAbortClickedevent - Customizable color scheme via
ConsoleColorSettings
Installation
dotnet add package AppConsole.UI
Usage
using AppConsole.UI;
using AppConsole.UI.Models;
var console = new AppConsoleControl();
console.StyleConsole(new ConsoleColorSettings
{
Default = "#FFFFFF",
Background = "#000000",
Info = "#5bc0de",
Warning = "#f89406",
Success = "#62c462",
Danger = "#ee5f5b"
});
console.AppendText("Starting process...", AppConsoleColor.Info);
console.AppendText("Process completed.", AppConsoleColor.Success);
console.ConsoleAbortClicked += (s, e) =>
{
// Handle abort request
};
Requirements
- .NET 10 or later Windows target
- Windows Forms application
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.17 | 79 | 8/14/2026 |
| 1.0.0-AWC-1-story---settings.1 | 38 | 8/14/2026 |