Skip to content

Commit 97242c4

Browse files
Add optimized property to the Native AOT sample app (#95640)
Co-authored-by: Milos Kotlar <kotlarmilos@gmail.com>
1 parent 953a9f3 commit 97242c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mono/sample/iOS-NativeAOT/Program.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<RuntimeIdentifier>$(TargetOS)-$(TargetArchitecture)</RuntimeIdentifier>
1010
<AppName>HelloiOS</AppName>
1111
<GenerateXcodeProject>true</GenerateXcodeProject>
12+
<Optimized Condition="'$(Configuration)' == 'Release'">true</Optimized>
1213
<UseNativeAOTRuntime Condition="'$(UseNativeAOTRuntime)' == ''">true</UseNativeAOTRuntime>
1314
<RunAOTCompilation>false</RunAOTCompilation>
1415
<NativeLib>static</NativeLib>

0 commit comments

Comments
 (0)