Avalonia.Controls.Maui.Desktop 11.0.0-preview.2.26082.825
Avalonia.Controls.Maui.Desktop
This package provides Avalonia.Controls.Maui support for .NET MAUI Single Project apps, adding Avalonia.Desktop support to apps that implement the single project build system.
If you wish to build for Avalonia.Browser (WASM), or the other Avalonia target types, refer to the Avalonia.Controls.Maui documentation.
Usage
Reference this package in your .NET MAUI project:
<PackageReference Include="Avalonia.Controls.Maui.Desktop" Version="..." />
And update the target frameworks to include the standard .NET version.
<PropertyGroup>
<!-- Add net11.0... -->
<TargetFrameworks>net11.0;net11.0-android</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">
...
The source generator will automatically create a Program.Main entry point for your desktop app. You can control its behavior with MSBuild properties:
| Property | Default | Description |
|---|---|---|
AvaloniaControlsMauiGenerateBootstrap |
true |
Generate the desktop bootstrap entry point |
AvaloniaControlsMauiTheme |
Fluent |
Theme to use |
AvaloniaControlsMauiThemeVariant |
Default |
Theme variant (Default, Light, Dark) |
AvaloniaControlsMauiIncludeInterFont |
true |
Include Inter font family |
License
This project is licensed under the MIT License.
No packages depend on Avalonia.Controls.Maui.Desktop.
https://github.com/AvaloniaUI/Avalonia.Controls.Maui/releases
.NET 11.0
- Avalonia.Controls.Maui (>= 11.0.0-preview.2.26082.825)
- Avalonia.Desktop (>= 12.0.0-rc1)
| Version | Downloads | Last updated |
|---|---|---|
| 11.0.0-preview.2.26082.825 | 2 | 2026/3/24 |
| 11.0.0-preview.2.26075.1512 | 0 | 2026/3/16 |