Avae.Windows.Essentials
1.0.2
dotnet add package Avae.Windows.Essentials --version 1.0.2
NuGet\Install-Package Avae.Windows.Essentials -Version 1.0.2
<PackageReference Include="Avae.Windows.Essentials" Version="1.0.2" />
<PackageVersion Include="Avae.Windows.Essentials" Version="1.0.2" />
<PackageReference Include="Avae.Windows.Essentials" />
paket add Avae.Windows.Essentials --version 1.0.2
#r "nuget: Avae.Windows.Essentials, 1.0.2"
#:package Avae.Windows.Essentials@1.0.2
#addin nuget:?package=Avae.Windows.Essentials&version=1.0.2
#tool nuget:?package=Avae.Windows.Essentials&version=1.0.2
Avae.Windows.Essentials
A port of Microsoft.Maui.Essentials tailored for Avalonia.Windows.
Features
Cross-Platform Essentials: Leverage APIs from Microsoft.Maui.Essentials adapted for windows environments.
MIT Licensed: Freely use, modify, and distribute under the permissive MIT License.
Getting Started
Follow these steps to integrate Avae.Windows.Essentials into your Avalonia.Windows project.
Prerequisites
An Avalonia.Windows project set up with .NET. targetting net8.0-windows10.0.19041.0
Installation
- Add Microsoft.Maui.Essentials to Your Shared Project
In your shared project�s .csproj file, include the Microsoft.Maui.Essentials package. Use one of the following methods
<UseMauiEssentials>true</UseMauiEssentials>
OR
<PackageReference Include="Microsoft.Maui.Essentials">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Configuration
- Initialize
using Microsoft.Maui.ApplicationModel;
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UseMauiEssentials()
.UsePlatformDetect()
.WithInterFont()
.LogToTrace();
Usage
Once installed, you can use Microsoft.Maui.Essentials APIs within your Avalonia.Windows application. For example, access application information via AppInfo.
Example: Accessing AppInfo
using Microsoft.Maui.Essentials;
string appName = AppInfo.Name;
string appVersion = AppInfo.VersionString;
Built With
This package builds upon the excellent work of:
Microsoft.Maui.Essentials
AvaloniaUI
License
Avae.Windows.Essentials is licensed under the MIT License.
Contributing
Contributions are welcome! Please submit issues or pull requests to the GitHub repository. Ensure your code follows the project�s coding standards.
Acknowledgments
Thanks to the Avalonia team for their robust UI framework.
Gratitude to the MAUI team for providing cross-platform essentials.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows10.0.19041 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows10.0.19041
- Avalonia (>= 11.1.0)
- Microsoft.Maui.Graphics (>= 6.0.300)
- Microsoft.WindowsAppSDK (>= 1.7.250606001)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.