|
@@ -1,35 +1,48 @@
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|
|
- <TargetFramework>net6.0</TargetFramework>
|
|
|
|
|
|
+ <TargetFramework>net7.0</TargetFramework>
|
|
<OutputType>Exe</OutputType>
|
|
<OutputType>Exe</OutputType>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
|
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
|
- <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
|
|
|
|
|
+
|
|
|
|
+ <!-- Normal .NET 7 -->
|
|
|
|
+ <PublishAot>true</PublishAot>
|
|
|
|
+ <SelfContained>true</SelfContained>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
|
|
+ <IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
|
|
+ <IlcOptimizationPreference>Speed</IlcOptimizationPreference>
|
|
|
|
+ <DebugType>none</DebugType>
|
|
|
|
+ <GenerateRuntimeConfigurationFiles>false</GenerateRuntimeConfigurationFiles>
|
|
|
|
+
|
|
|
|
+ <!-- Only some may work - From the experimental AOT version -->
|
|
|
|
+ <IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
|
|
|
|
+ <IlcTrimMetadata>true</IlcTrimMetadata>
|
|
|
|
+ <IlcInvariantGlobalization>true</IlcInvariantGlobalization>
|
|
|
|
+ <IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
|
|
|
|
+
|
|
|
|
+ <!-- Still works from the experimental AOT version, but high risk -->
|
|
<IlcDisableReflection>true</IlcDisableReflection>
|
|
<IlcDisableReflection>true</IlcDisableReflection>
|
|
|
|
|
|
|
|
+ <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
|
|
|
+
|
|
<!--
|
|
<!--
|
|
<TrimMode>link</TrimMode>
|
|
<TrimMode>link</TrimMode>
|
|
-->
|
|
-->
|
|
|
|
|
|
<!-- Opt out of the "easy mode" of the CoreRT compiler (http://aka.ms/OptimizeCoreRT) -->
|
|
<!-- Opt out of the "easy mode" of the CoreRT compiler (http://aka.ms/OptimizeCoreRT) -->
|
|
- <TrimmerDefaultAction>link</TrimmerDefaultAction>
|
|
|
|
- <IlcOptimizationPreference>Speed</IlcOptimizationPreference>
|
|
|
|
<IlcPgoOptimize>true</IlcPgoOptimize>
|
|
<IlcPgoOptimize>true</IlcPgoOptimize>
|
|
- <IlcTrimMetadata>true</IlcTrimMetadata>
|
|
|
|
|
|
|
|
<!-- This benchmark is marked Stripped, so we might as well do this: -->
|
|
<!-- This benchmark is marked Stripped, so we might as well do this: -->
|
|
<UseSystemResourceKeys>true</UseSystemResourceKeys>
|
|
<UseSystemResourceKeys>true</UseSystemResourceKeys>
|
|
<EventSourceSupport>false</EventSourceSupport>
|
|
<EventSourceSupport>false</EventSourceSupport>
|
|
<DebuggerSupport>false</DebuggerSupport>
|
|
<DebuggerSupport>false</DebuggerSupport>
|
|
- <IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
|
|
|
|
+
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
<ItemGroup>
|
|
- <PackageReference Include="System.Data.Odbc" Version="6.0.0" />
|
|
|
|
- <PackageReference Include="Microsoft.DotNet.ILCompiler" Version="7.0.0-*" />
|
|
|
|
|
|
+ <PackageReference Include="System.Data.Odbc" Version="7.0.0" />
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|