Avalonia.Controls.Maui.Essentials 11.0.0-preview.2.26082.825

Prefix Reserved
This is a prerelease version of Avalonia.Controls.Maui.Essentials.
dotnet add package Avalonia.Controls.Maui.Essentials --version 11.0.0-preview.2.26082.825
                    
NuGet\Install-Package Avalonia.Controls.Maui.Essentials -Version 11.0.0-preview.2.26082.825
                    
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="Avalonia.Controls.Maui.Essentials" Version="11.0.0-preview.2.26082.825" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Avalonia.Controls.Maui.Essentials" Version="11.0.0-preview.2.26082.825" />
                    
Directory.Packages.props
<PackageReference Include="Avalonia.Controls.Maui.Essentials" />
                    
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 Avalonia.Controls.Maui.Essentials --version 11.0.0-preview.2.26082.825
                    
#r "nuget: Avalonia.Controls.Maui.Essentials, 11.0.0-preview.2.26082.825"
                    
#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 Avalonia.Controls.Maui.Essentials@11.0.0-preview.2.26082.825
                    
#: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=Avalonia.Controls.Maui.Essentials&version=11.0.0-preview.2.26082.825&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Avalonia.Controls.Maui.Essentials&version=11.0.0-preview.2.26082.825&prerelease
                    
Install as a Cake Tool

Avalonia.Controls.Maui.Essentials

Avalonia.Controls.Maui.Essentials provides Avalonia-based implementations of Microsoft.Maui.Essentials APIs. Internally, it generally uses Avalonia APIs for accessing services, unless they don't exist or are specific to platforms where that would not be applicable.

Setup

Call UseAvaloniaEssentials() on your MauiAppBuilder:

var builder = MauiApp.CreateBuilder();
builder
    .UseMauiApp<App>()
    .UseAvaloniaApp()
    .UseAvaloniaEssentials();

Implemented APIs

API Namespace Status Notes
Screenshot Microsoft.Maui.Media Implemented Full support. Note: Always outputs PNG regardless of requested format.
FilePicker Microsoft.Maui.Storage Implemented Full support for single and multi-file selection. MIME types and UTIs are converted to glob patterns where possible.
MediaPicker Microsoft.Maui.Media Partial Photo and video picking is supported. Camera capture (CapturePhotoAsync/CaptureVideoAsync) throws NotSupportedException.
FileSystem Microsoft.Maui.Storage Implemented CacheDirectory, AppDataDirectory, and app package file access via Avalonia's avares:// asset loader.
HapticFeedback Microsoft.Maui.Devices Stub IsSupported returns false. Perform() is a no-op. Haptic feedback is not available on desktop platforms.
Preferences Microsoft.Maui.Storage Implemented Full support for all types (string, int, bool, long, double, float, DateTime, DateTimeOffset). Persists to a JSON file. Supports shared containers.

Not Implemented APIs

For APIs that have not been implemented in Microsoft.Maui.Essentials APIs, they will fall back to the default .NET MAUI standard implementations. These will most likely throw NotImplementedException as most of them are platform specific implementations. We are adding more support for the areas we can cover.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible.  net11.0-browser1.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
11.0.0-preview.2.26082.825 4 3/23/2026
11.0.0-preview.2.26075.1512 111 3/16/2026