Skip to content

Commit

Permalink
Use Size optimization instead of Speed
Browse files Browse the repository at this point in the history
Also disable Reflection completely
  • Loading branch information
bagusnl authored Dec 9, 2024
1 parent 725d315 commit 910fc2c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<!-- Compilation and Optimization -->
<Deterministic>true</Deterministic>
<Optimize>true</Optimize>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<OptimizationPreference>Speed</OptimizationPreference>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
<IlcDisableReflection>true</IlcDisableReflection>
<OptimizationPreference>Size</OptimizationPreference>
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
<IlcDisableSingleFile>true</IlcDisableSingleFile>
<IlcGenerateMstatFile>true</IlcGenerateMstatFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<!-- Compilation and Optimization -->
<Deterministic>true</Deterministic>
<Optimize>true</Optimize>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<OptimizationPreference>Speed</OptimizationPreference>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
<IlcDisableReflection>true</IlcDisableReflection>
<OptimizationPreference>Size</OptimizationPreference>
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
<IlcDisableSingleFile>true</IlcDisableSingleFile>
<IlcGenerateMstatFile>true</IlcGenerateMstatFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<!-- Compilation and Optimization -->
<Optimize>true</Optimize>
<Deterministic>true</Deterministic>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<OptimizationPreference>Speed</OptimizationPreference>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
<IlcDisableReflection>true</IlcDisableReflection>
<OptimizationPreference>Size</OptimizationPreference>
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
<IlcDisableSingleFile>true</IlcDisableSingleFile>
<IlcGenerateMstatFile>true</IlcGenerateMstatFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<!-- Compilation and Optimization -->
<Optimize>true</Optimize>
<Deterministic>true</Deterministic>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
<IlcDisableReflection>true</IlcDisableReflection>
<OptimizationPreference>Size</OptimizationPreference>
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
<IlcDisableSingleFile>true</IlcDisableSingleFile>
<IlcTrimMetadata>true</IlcTrimMetadata>
<TrimMetadata>true</TrimMetadata>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<FoldIdenticalMethodBodies>true</FoldIdenticalMethodBodies>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<OptimizationPreference>Speed</OptimizationPreference>


<!-- Debugging and Metadata -->
<DebuggerSupport>false</DebuggerSupport>
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<!-- Compilation and Optimization -->
<Optimize>true</Optimize>
<Deterministic>true</Deterministic>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<OptimizationPreference>Speed</OptimizationPreference>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
<IlcDisableReflection>true</IlcDisableReflection>
<OptimizationPreference>Size</OptimizationPreference>
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
<IlcDisableSingleFile>true</IlcDisableSingleFile>
<IlcGenerateMstatFile>true</IlcGenerateMstatFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Optimize>true</Optimize>
<Deterministic>true</Deterministic>
<CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
<IlcDisableReflection>true</IlcDisableReflection>
<OptimizationPreference>Size</OptimizationPreference>
<IlcDisableSingleFile>true</IlcDisableSingleFile>
<IlcTrimMetadata>true</IlcTrimMetadata>
<TrimMetadata>true</TrimMetadata>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<FoldIdenticalMethodBodies>true</FoldIdenticalMethodBodies>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<OptimizationPreference>Speed</OptimizationPreference>

<!-- Debugging and Metadata -->
<DebuggerSupport>false</DebuggerSupport>
Expand Down

0 comments on commit 910fc2c

Please sign in to comment.