Reorganize dependency conditions

This commit is contained in:
Tyrrrz
2025-06-08 21:15:32 +03:00
parent d80d012938
commit 7638b997ff
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
</PropertyGroup>
<!-- Disable nullability warnings on older frameworks because there is no nullability info for BCL -->
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PropertyGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))">
<Nullable>annotations</Nullable>
</PropertyGroup>