Avalonia Configuration
Set properties in MyGame.avalonia.csproj. Reference 2dog.avalonia and explicitly select 2dog.engine or 2dog.engine.double. Global settings control the game directory, resource import, analyzers, and native variant. Desktop publishing covers the pack, self-contained, single-file, Native AOT and ReadyToRun properties.
bash
dotnet publish MyGame.avalonia -c Release -r win-x64 -p:PublishAot=trueKeep the generated app manifest for correct DPI scaling.
See the Avalonia host guide for UI setup and platform requirements.