Add Native AOT support documentation and update project files for AOT compatibility

This commit is contained in:
Phil Scott
2024-11-21 22:14:03 -05:00
committed by Patrik Svensson
parent 8f2a859087
commit 835143d95f
3 changed files with 34 additions and 3 deletions

View File

@@ -5,7 +5,10 @@
<IsPackable>true</IsPackable>
<Description>A library that extends Spectre.Console with ImageSharp superpowers.</Description>
</PropertyGroup>
<PropertyGroup>
<IsAotCompatible Condition="'$(TargetFramework)' != 'netstandard2.0'" >true</IsAotCompatible>
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" />
</ItemGroup>