Skip to content

Commit ad4a3d7

Browse files
committed
Add AOT checks to the library project
1 parent 8058834 commit ad4a3d7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/RazorBlade.Library/RazorBlade.Library.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
<TargetFrameworks>net10.0;net8.0;net6.0;netstandard2.0</TargetFrameworks>
44
<RootNamespace>RazorBlade</RootNamespace>
55
<LangVersion>10.0</LangVersion>
6+
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsAotCompatible>
7+
<VerifyReferenceAotCompatibility>true</VerifyReferenceAotCompatibility>
68
</PropertyGroup>
79
</Project>

0 commit comments

Comments
 (0)