发布

  • Restore self-contained Windows App SDK packaging

    frostbyte_neo 发布于 2026-03-17 01:24:37 +00:00

    The shared-target-framework refactor moved the Windows App SDK self-contained settings into Directory.Build.props behind a condition that depends on TargetFramework being set. Because Directory.Build.props is evaluated before UniGetUI.csproj assigns TargetFramework, the app project stopped evaluating as self-contained and no longer bundled Microsoft.WindowsAppRuntime.dll in release artifacts.

    Move the self-contained Windows App SDK settings into UniGetUI.csproj so they are evaluated after the app TargetFramework is known and the runtime payload is bundled again.

    Fixes #4487.

    下载附件