Add AllowMissingPrunePackageData to project files

- Temporally set AllowMissingPrunePackageData in both CSTNet and CSTNet.Tests project files to address package data pruning issues.
- Also removed the AOT compatibility property group from CSTNet.csproj.
This commit is contained in:
Tony Bark 2026-01-07 03:20:03 -05:00
parent c9a7c6c309
commit 89383db3c3
2 changed files with 2 additions and 4 deletions

View file

@ -5,6 +5,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<AllowMissingPrunePackageData>true</AllowMissingPrunePackageData>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View file

@ -7,6 +7,7 @@
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Authors>Tony Bark</Authors> <Authors>Tony Bark</Authors>
<AllowMissingPrunePackageData>true</AllowMissingPrunePackageData>
<PackageDescription> <PackageDescription>
Caret-Separated Text (or CST) is a key-value pair format represented by digits or words Caret-Separated Text (or CST) is a key-value pair format represented by digits or words
as keys and the value as text enclosed between carets. ([key] ^[value]^) as keys and the value as text enclosed between carets. ([key] ^[value]^)
@ -17,10 +18,6 @@
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression> <PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
</PropertyGroup> </PropertyGroup>
<!-- Support AOT on .NET 8+ -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Update="DotNet.ReproducibleBuilds" Version="1.2.39" /> <PackageReference Update="DotNet.ReproducibleBuilds" Version="1.2.39" />
</ItemGroup> </ItemGroup>