Skip to content

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=true

Keep the generated app manifest for correct DPI scaling.

See the Avalonia host guide for UI setup and platform requirements.

2dog is Free and Libre Open Source under the MIT License.
2dog is not affiliated with or endorsed by the Godot Foundation.
Godot is licensed under the MIT License; the Godot logo is by Andrea Calabró under CC BY 4.0. @icons made by Voxy under the MIT License.
Continuous Integration compute graciously supported by Blacksmith.