Open michael-hawker opened 1 month ago
I will enable the flag in the next release. Currently, the code still works for AOT. I also push the test aot project in repo.
<PropertyGroup>
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
</PropertyGroup>
Your readme mentions AOT compatibility, but then the project doesn't enable the analysis flag, see the docs here: https://learn.microsoft.com/dotnet/core/deploying/native-aot/#aot-compatibility-analyzers
And a helpful article on resolving any warnings: https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/