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=trueSee the WinUI host guide for window embedding and UI behavior.