Skip to content

WinUI 3 Configuration ​

Set properties in MyGame.winui.csproj, which references 2dog.engine and Microsoft.WindowsAppSDK. Build and publish on Windows. 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.

The generated host is a win-x64, unpackaged and self-contained Windows App SDK app.

bash
dotnet publish MyGame.winui -c Release -p:PublishAot=true

See the WinUI host guide for window embedding and UI behavior.

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.