Skip to content

Commit 968486d

Browse files
committed
refactor: update IsAotCompatible
1 parent 00068c5 commit 968486d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WeihanLi.Common/WeihanLi.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PropertyGroup>
1313
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1414
<!-- https://learn.microsoft.com/en-us/visualstudio/msbuild/property-functions?view=vs-2022#msbuild-targetframework-and-targetplatform-functions -->
15-
<IsAotCompatible>$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))</IsAotCompatible>
15+
<IsAotCompatible>$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))</IsAotCompatible>
1616
<!-- DynamicallyAccessedMembers not included by default https://github.com/Sergio0694/PolySharp/issues/84#issuecomment-1751772472 -->
1717
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
1818
</PropertyGroup>

0 commit comments

Comments
 (0)