Consolonia 11.3.7-beta.1831

This is a prerelease version of Consolonia.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Consolonia --version 11.3.7-beta.1831
                    
NuGet\Install-Package Consolonia -Version 11.3.7-beta.1831
                    
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="Consolonia" Version="11.3.7-beta.1831" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Consolonia" Version="11.3.7-beta.1831" />
                    
Directory.Packages.props
<PackageReference Include="Consolonia" />
                    
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 Consolonia --version 11.3.7-beta.1831
                    
#r "nuget: Consolonia, 11.3.7-beta.1831"
                    
#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 Consolonia@11.3.7-beta.1831
                    
#: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=Consolonia&version=11.3.7-beta.1831&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Consolonia&version=11.3.7-beta.1831&prerelease
                    
Install as a Cake Tool

logo

🚀 Modern UI Power, Now in Your Console

This package is a meta package which includes everything you need to build Console applications using Consolonia and Avalonia.

gallery

Usage

Define an application with a theme (See Consolonia.Themes.TurboVision for themes)

Define a Window

HelloWorldWindow.axaml

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="HelloWorldWindow">
    <TextBlock Text="Hello World" />
</Window>

## Define an application 
You need to define an application that defines a theme and sets the main window.

HelloWorldApp.cs
```csharp
// use HelloWorldWindow as the MainWindow for the application
public class HelloWorldApp : ConsoloniaApplication<HelloWorldWindow>
{
    public override void Initialize()
    {
        // set the theme
        Styles.Add(new FluentTheme());
    }
}

Setup program.cs

Program.cs

[STAThread]
private static void Main(string[] args)
{
    BuildAvaloniaApp()
        .StartWithConsoleLifetime(args);
}

public static AppBuilder BuildAvaloniaApp()
    => AppBuilder.Configure<HelloWorldApp>()
        .UseConsolonia()
        .UseAutoDetectedConsole()
        .LogToException();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos 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 (1)

Showing the top 1 NuGet packages that depend on Consolonia:

Package Downloads
Consolonia.Blazor

This package provides the ability to use Blazor .razor files to create console apps using Consolonia.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Consolonia:

Repository Stars
Consolonia/Consolonia
A cross-platform UI framework for .NET.
Version Downloads Last Updated
11.3.7-beta.2027 650 11/18/2025
11.3.7-beta.1941 355 11/8/2025
11.3.7-beta.1831 415 10/25/2025
11.3.7-beta.1773 309 10/17/2025
11.3.4-beta.1699 141 10/10/2025
11.3.4-beta.1685 122 10/9/2025
11.3.4-beta.1648 136 10/1/2025
11.3.4-beta.1604 229 9/19/2025
11.3.4-beta.1598 212 9/19/2025
11.3.4-beta.1573 268 9/16/2025
11.3.4-beta.1547 104 9/13/2025
11.3.4-beta.1545 105 9/13/2025
11.3.4-beta.1533 107 9/13/2025
11.3.4-beta.1527 104 9/13/2025
11.3.4-beta.1499 75 9/12/2025
11.3.4-beta.1483 125 9/11/2025
11.3.4-beta.1464 131 9/9/2025
11.3.4-beta.1456 127 9/8/2025
11.3.4-beta.1452 126 9/8/2025
11.3.4-beta.1450 133 9/7/2025
11.3.4-beta.1442 98 9/6/2025
11.3.4-beta.1433 89 9/5/2025
11.3.4-beta.1425 141 9/4/2025
11.3.4-beta.1420 132 8/31/2025
11.3.4-beta.1416 135 8/31/2025
11.3.4-beta.1414 153 8/29/2025
11.3.4-beta.1408 173 8/28/2025
11.3.4-beta.1406 168 8/28/2025
11.3.4-beta.1396 171 8/28/2025
11.3.4-beta.1384 173 8/28/2025
11.3.4-beta.1374 175 8/28/2025
11.3.4-beta.1371 173 8/27/2025
11.3.4-beta.1369 171 8/27/2025
11.3.4-beta.1365 170 8/27/2025
11.3.4-beta.1359 180 8/27/2025
11.3.4-beta.1334 177 8/26/2025
11.3.4-beta.1325 193 8/26/2025
11.3.4-beta.1313 124 8/20/2025
11.2.5-beta.1305 1,309 8/19/2025
11.2.5-beta.1302 123 8/19/2025
11.2.5-beta.1298 217 8/18/2025
11.2.5-beta.1296 129 8/17/2025
11.2.5-beta.1294 129 8/17/2025
11.2.5-beta.1290 114 8/17/2025
11.2.5-beta.1287 103 8/17/2025
11.2.5-beta.1284 102 8/17/2025
11.2.5-beta.1278 75 8/16/2025
11.2.5-beta.1276 59 8/16/2025
11.2.5-beta.1273 65 8/16/2025
11.2.5-beta.1270 60 8/16/2025
11.2.5-beta.1264 63 8/16/2025
11.2.5-beta.1261 62 8/16/2025
11.2.5-beta.1259 64 8/16/2025
11.2.5-beta.1228 200 8/13/2025
11.2.5-beta.1221 120 8/10/2025
11.2.5-beta.1218 85 8/10/2025
11.2.5-beta.1213 92 8/10/2025
11.2.5-beta.1209 91 8/10/2025
11.2.5-beta.1207 91 8/10/2025
11.2.5-beta.1197 103 8/9/2025
11.2.5-beta.1176 158 8/3/2025
11.2.5-beta.1142 108 7/30/2025
11.2.5-beta.1102 196 7/4/2025
11.2.5-beta.1090 163 6/17/2025
11.2.5-beta.1077 164 6/3/2025
11.2.5-beta.1075 138 6/2/2025
11.2.5-beta.1065 214 4/8/2025
11.2.5-beta.1050 160 3/28/2025
11.2.5-beta.1047 126 3/27/2025
11.2.5-beta.1044 132 3/27/2025
11.2.5-beta.1026 187 3/23/2025
11.2.5-beta.1023 161 3/22/2025
11.2.5-beta.1018 153 3/22/2025
11.2.5-beta.1016 151 3/22/2025
11.2.5-beta.1008 89 3/22/2025
11.2.5-beta.1004 76 3/21/2025
11.2.5-beta.988 106 3/15/2025
11.2.5-beta.965 172 3/1/2025
11.2.5-beta.959 92 2/28/2025
11.2.3-beta.954 100 2/27/2025
11.2.3-beta.946 116 2/24/2025
11.2.3-beta.936 136 2/7/2025
11.2.3-beta.920 109 2/6/2025
11.2.3-beta.906 125 2/2/2025
11.2.3-beta.902 109 2/1/2025
11.2.3-beta.887 120 1/27/2025
11.2.3-beta.883 81 1/27/2025
11.2.3-beta.876 111 1/26/2025
11.2.3-beta.874 83 1/26/2025
11.2.3-beta.866 101 1/24/2025
11.2.3-beta.862 81 1/24/2025
11.2.3-beta.860 84 1/23/2025
11.2.3-beta.849 113 1/23/2025
11.2.3-beta.845 77 1/23/2025
11.2.3-beta.841 86 1/22/2025
11.2.3-beta.838 95 1/20/2025
11.2.3-beta.826 99 1/19/2025
11.2.3-beta.819 82 1/18/2025
11.2.3-beta.802 101 1/17/2025
11.2.3-beta.798 78 1/17/2025
11.2.3-beta.793 74 1/17/2025
11.2.3-beta.789 77 1/17/2025
11.2.3-beta.784 73 1/16/2025
11.2.1-alpha-782 69 1/16/2025
11.2.1-alpha-770 70 1/15/2025
11.2.1-alpha-764 50 1/15/2025
11.2.1-alpha-756 59 1/14/2025
11.2.1-alpha-748 159 1/10/2025
11.2.1-alpha-713 88 1/6/2025
11.2.1-alpha-711 113 1/4/2025
11.2.1-alpha-709 104 1/4/2025
11.2.1-alpha-701 108 1/4/2025
11.2.1-alpha-698 104 1/3/2025
11.2.1-alpha-678 109 1/1/2025
11.2.1-alpha-668 83 12/26/2024
11.2.1-alpha-664 85 12/26/2024
11.2.1-alpha-661 83 12/26/2024
11.2.1-alpha-652 89 12/25/2024
11.2.1-alpha-648 80 12/25/2024
11.2.1-alpha-646 81 12/25/2024
11.2.1-alpha-631 81 12/24/2024
11.2.1-alpha-626 87 12/23/2024
11.2.1-alpha-614 79 12/23/2024
11.2.1-alpha-606 410 12/21/2024
11.2.1-alpha-604 87 12/20/2024
11.2.1-alpha-598 81 12/19/2024
11.2.1-alpha-595 97 12/17/2024
11.2.1-alpha-593 82 12/17/2024
11.2.1-alpha-579 98 12/15/2024
11.2.1-alpha-577 92 12/15/2024
11.2.1-alpha-574 94 12/15/2024
11.2.1-alpha-568 88 12/15/2024
11.2.1-alpha-559 97 12/14/2024
11.2.1-alpha-547 100 12/13/2024
11.2.1-alpha-545 87 12/13/2024
11.2.1-alpha-540 87 12/13/2024
11.2.1-alpha-538 93 12/13/2024
11.2.1-alpha-523 98 12/8/2024
11.2.1-alpha-517 147 12/8/2024