Skip to content
/ AvaloniaAOT Public template

Avalonia Native AOT Templete. Smaller size, lower memory usage and faster startup speed.

License

Notifications You must be signed in to change notification settings

lixinyang123/AvaloniaAOT

Repository files navigation

AvaloniaAOT

Avalonia Native AOT Templete. Smaller size, lower memory usage and faster startup speed. ~18MB size

image

You can disable UPX Compresse to get lower memory usage. ~20MB usage

Prerequisites

Windows

Visual Studio 2022, including .NET 8 & Desktop development with C++ workload.

Ubuntu (20.04+)

sudo apt-get install dotnet-sdk-8.0 libicu-dev cmake zlib1g-dev -y

Publish with NativeAOT

dotnet publish -r <RID> -c Release

# Build for Windows example
dotnet publish -r win-x64 -c Release

Builder the installer with NSIS

NSIS installer ~13MB size

pwsh ./publish.ps1

if you builder the installer with nsis, you can ignore upx compression, so you can get better startup performance.

Screenshot

screenshot

About

Avalonia Native AOT Templete. Smaller size, lower memory usage and faster startup speed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published