Skip to content

Commit be0b245

Browse files
committed
Add IsAotCompatible attribute to NumberExtensions project
1 parent f4e49dc commit be0b245

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<Nullable>enable</Nullable>
2424
<RootNamespace>UnitsNet</RootNamespace>
2525
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
26+
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
2627
</PropertyGroup>
2728

2829
<ItemGroup>

0 commit comments

Comments
 (0)