39 lines
1.5 KiB
XML
39 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AyCode.Core\AyCode.Core.csproj" />
|
|
<ProjectReference Include="..\AyCode.Core.Tests\AyCode.Core.Tests.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="MemoryPack" Version="1.21.4" />
|
|
<PackageReference Include="MessagePack" Version="3.1.4" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<!-- NativeAOT enable -->
|
|
<PublishAot>true</PublishAot>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
|
|
<!-- AYCODE_NATIVEAOT compile symbol — defined whenever PublishAot=true is in effect.
|
|
Used by Program.cs to #if-out MessagePack benchmark sites: MessagePack v3 has no AOT-compatible
|
|
resolver in this project's setup (DynamicGenericResolver fails on trimmed ListFormatter<T>).
|
|
This is a benchmark-project-local workaround and never ships as NuGet — directives are safe here. -->
|
|
<DefineConstants>$(DefineConstants);AYCODE_NATIVEAOT</DefineConstants>
|
|
|
|
<!-- Először tegyük zsongva: nyeljük le a trim warning-okat hogy buildelni tudjon. -->
|
|
<!-- Ezt később vissza lehet kapcsolni szigorúra. -->
|
|
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
|
<TrimmerSingleWarn>false</TrimmerSingleWarn>
|
|
|
|
<JsonSerializerIsReflectionEnabledByDefault>true</JsonSerializerIsReflectionEnabledByDefault>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|