Skip to content

Commit

Permalink
Enable R2R and trimming for server
Browse files Browse the repository at this point in the history
  • Loading branch information
hez2010 committed Dec 31, 2023
1 parent e29c50f commit 2b37c05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Files.App.Server/Files.App.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<CsWinRTWindowsMetadata>10.0.22621.0</CsWinRTWindowsMetadata>
<CsWinRTEnableLogging>true</CsWinRTEnableLogging>
<ApplicationManifest>app.manifest</ApplicationManifest>
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">true</PublishReadyToRun>
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">true</PublishTrimmed>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
Expand All @@ -30,6 +32,7 @@

<ItemGroup>
<Manifest Include="app.manifest" />
<TrimmerRootAssembly Include="Files.App.Server"></TrimmerRootAssembly>
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.1.647-beta" PrivateAssets="all" />
</ItemGroup>
Expand Down

0 comments on commit 2b37c05

Please sign in to comment.