Skip to content

Commit

Permalink
Add experimental Xbox support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Sep 12, 2024
1 parent c300379 commit ad60cea
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ad60cea

Please sign in to comment.