Update NativeAOT configuration for .NET 8

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-20 19:28:06 +01:00
1 親 93abd28b72
コミット a68497c067
3ファイル変更
+8 -11

検索条件に一致するファイルはありません

+2 -5
ファイルの表示
@@ -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 -->