Add experimental Xbox support

このコミットが含まれているのは:
Sergio Pedri committed 2024-09-26 18:14:50 -07:00
1 親 6557d34e2d
コミット b773aaeddb
1ファイル変更
+8
@@ -38,6 +38,14 @@
<CsWinRTEnableIDynamicInterfaceCastableSupport>false</CsWinRTEnableIDynamicInterfaceCastableSupport>
</PropertyGroup>
<!--
If experimental support for Xbox is enabled, link against 'WindowsApp.lib'.
Additionally, set the AppContainer switch, as Xbox might be validating that.
-->
<ItemGroup Condition="'$(EXPERIMENTAL_XBOX_SUPPORT)' == 'true'">
<LinkerArg Include="/APPCONTAINER /DEFAULTLIB:WindowsApp.lib WindowsApp.lib" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.3" />
</ItemGroup>