<Project>

  <PropertyGroup>
    <IlcOptimizationPreference>Speed</IlcOptimizationPreference>
    <IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
    <StaticallyLinked Condition="$(RuntimeIdentifier.StartsWith('win'))">true</StaticallyLinked>
    <TrimMode>full</TrimMode>
	<TrimmerDefaultAction>link</TrimmerDefaultAction>
	<IlcTrimMetadata>true</IlcTrimMetadata>
	<IlcGenerateStackTraceData>true</IlcGenerateStackTraceData>
	<SatelliteResourceLanguages>zh-CN;zh-TW;en-US</SatelliteResourceLanguages>
	  <PublishAot>true</PublishAot>
	  <StripSymbols>true</StripSymbols>
	  <ObjCopyName Condition="'$(RuntimeIdentifier)' == 'linux-arm64'">aarch64-linux-gnu-objcopy</ObjCopyName>
  </PropertyGroup>

	<ItemGroup Condition="'$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' != 'win-arm64'">
		<PackageReference Include="PublishAotCompressed" Version="0.0.3" />
	</ItemGroup>
	
  <ItemGroup>
    <RdXmlFile Include="rd.xml" />
  </ItemGroup>

</Project>
