Skip to content

Commit 15680eb

Browse files
committed
Fixed framework check for setting IsAotCompatible project flag
1 parent 73f6559 commit 15680eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BitMart.Net/BitMart.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2424
<PackageReleaseNotes>https://github.com/JKorf/BitMart.Net?tab=readme-ov-file#release-notes</PackageReleaseNotes>
2525
</PropertyGroup>
26-
<PropertyGroup Label="AOT" Condition=" '$(TargetFramework)' == 'NET8_0' Or '$(TargetFramework)' == 'NET9_0' ">
26+
<PropertyGroup Label="AOT" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">
2727
<IsAotCompatible>true</IsAotCompatible>
2828
</PropertyGroup>
2929
<PropertyGroup Label="Deterministic Build" Condition="'$(Configuration)' == 'Release'">

0 commit comments

Comments
 (0)