Skip to content

Commit

Permalink
Add PUBLISH_AOT_COMPRESSED option to CLI sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Nov 25, 2022
1 parent 22fcea0 commit f63af3d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
</PropertyGroup>

<!-- If requested, also reference the UPX compression package -->
<ItemGroup Condition="'$(PUBLISH_AOT_COMPRESSED)' == 'true'">
<PackageReference Include="PublishAotCompressed" Version="1.0.0" />
</ItemGroup>

<!-- Application icon -->
<ItemGroup>
<Content Include="icon.ico" />
Expand Down

0 comments on commit f63af3d

Please sign in to comment.