The package ships MessagePackAssumedFormattable(typeof(CultRecordRef<>)) as an MSBuild AssemblyAttribute in buildTransitive, so generated resolvers defer the ref to CultDocumentResolver. Geometry imports the targets and drops its three per-member [MessagePackFormatter] workarounds. GeneratorConsumer is the generator-on twin of ConsumerBuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
879 B
XML
25 lines
879 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Aot)' == 'true'">
|
|
<PublishAot>true</PublishAot>
|
|
<IsTrimmable>true</IsTrimmable>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(Aot)' == 'true'">
|
|
<TrimmerRootAssembly Include="GameCult.Caching.GeneratorConsumer" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\GameCult.Caching.MessagePack\GameCult.Caching.MessagePack.csproj" />
|
|
<PackageReference Include="MessagePack" Version="3.1.7" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="..\..\src\GameCult.Caching.MessagePack\buildTransitive\GameCult.Caching.MessagePack.targets" />
|
|
</Project>
|