Files
PdfPig/src/Directory.Build.targets
madelson 7db347e9f7 Enable trimming and AOT (#939)
* Enable trimming and AOT analysis for all none-test projects

* Try annotating various XmlSerializer related functions with RequiresUnreferencedCode

* fix remaining AOT warnings

* fix attribute warning message

---------

Co-authored-by: Richard Webb <richard.webb@helpsystems.com>
2024-11-20 07:42:37 +00:00

7 lines
351 B
XML

<Project>
<PropertyGroup Condition="'$(IsTestProject)' != 'true'">
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsAotCompatible>
</PropertyGroup>
</Project>