Update NativeAOT configuration for .NET 8
このコミットが含まれているのは:
1 親
93abd28b72
コミット
a68497c067
3ファイル変更
+8
-11
検索条件に一致するファイルはありません
@@ -26,14 +26,13 @@
|
||||
-->
|
||||
<PropertyGroup Condition="'$(COMPUTESHARP_SWAPCHAIN_CLI_PUBLISH_AOT)' == 'true'">
|
||||
<PublishAot>true</PublishAot>
|
||||
<DebuggerSupport>false</DebuggerSupport>
|
||||
<UseSystemResourceKeys>true</UseSystemResourceKeys>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<StackTraceSupport>false</StackTraceSupport>
|
||||
<OptimizationPreference Condition="'$(COMPUTESHARP_SWAPCHAIN_CLI_SIZE_OPTIMIZED)' == 'true'">Size</OptimizationPreference>
|
||||
<OptimizationPreference Condition="'$(COMPUTESHARP_SWAPCHAIN_CLI_SIZE_OPTIMIZED)' != 'true'">Speed</OptimizationPreference>
|
||||
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
|
||||
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
||||
<IlcDisableReflection Condition="'$(COMPUTESHARP_SWAPCHAIN_CLI_DISABLE_REFLECTION)' == 'true'">true</IlcDisableReflection>
|
||||
<IlcOptimizationPreference Condition="'$(COMPUTESHARP_SWAPCHAIN_CLI_SIZE_OPTIMIZED)' == 'true'">Size</IlcOptimizationPreference>
|
||||
<IlcOptimizationPreference Condition="'$(COMPUTESHARP_SWAPCHAIN_CLI_SIZE_OPTIMIZED)' != 'true'">Speed</IlcOptimizationPreference>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
@@ -49,7 +48,7 @@
|
||||
|
||||
<!-- If requested, also reference the UPX compression package -->
|
||||
<ItemGroup Condition="'$(PUBLISH_AOT_COMPRESSED)' == 'true'">
|
||||
<PackageReference Include="PublishAotCompressed" Version="1.0.0" />
|
||||
<PackageReference Include="PublishAotCompressed" Version="1.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
<PublishAot>true</PublishAot>
|
||||
<UseSystemResourceKeys>true</UseSystemResourceKeys>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
|
||||
<StackTraceSupport>false</StackTraceSupport>
|
||||
<OptimizationPreference>Speed</OptimizationPreference>
|
||||
|
||||
<!-- Workaround for WinRT.Runtime and System.Linq.Expressions producing trim warnings -->
|
||||
<NoWarn>$(NoWarn);IL3053</NoWarn>
|
||||
|
||||
@@ -43,16 +43,13 @@
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
Enable trimming support on .NET 7 (we need to use StartsWith since it
|
||||
Enable trimming support on .NET 8 (we need to use StartsWith since it
|
||||
could be a Windows TFM too). This can't be in a target unlike the other
|
||||
properties set below, because if that is the case the trimmable attribute
|
||||
will be set but the analyzers will not run, so warnings will be skipped.
|
||||
-->
|
||||
<PropertyGroup Condition="$(TargetFramework.StartsWith('net8.0'))">
|
||||
<IsTrimmable>true</IsTrimmable>
|
||||
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
||||
<EnableAotAnalyzer>true</EnableAotAnalyzer>
|
||||
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
|
||||
<IsAotCompatible>true</IsAotCompatible>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Emit the [DisableRuntimeMarshalling] attribute for all .NET 8 projects -->
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする