Skip to content

Commit c25e2ae

Browse files
committed
cleanup..
1 parent 3b220e6 commit c25e2ae

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ To include internals like `Guard.cs`, `MathF`, and `HashCode` into your project
166166
+===================+=======+==========+=====================+=============+=================+====================+==============+=========|============|
167167
-->
168168

169-
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0'">
169+
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)','netcoreapp3.1'))">
170170
<DefineConstants>$(DefineConstants);SUPPORTS_MATHF</DefineConstants>
171171
<DefineConstants>$(DefineConstants);SUPPORTS_HASHCODE</DefineConstants>
172172
<DefineConstants>$(DefineConstants);SUPPORTS_EXTENDED_INTRINSICS</DefineConstants>

msbuild/props/SixLabors.Global.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
<IsOSX Condition="$([MSBuild]::IsOSPlatform('OSX'))">true</IsOSX>
7474
<IsLinux Condition="$([MSBuild]::IsOSPlatform('Linux'))">true</IsLinux>
7575
<IsFreeBSD Condition="$([MSBuild]::IsOSPlatform('FreeBSD'))">true</IsFreeBSD>
76-
<IsNetCore31Compatible Condition="$([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework),'netcoreapp3.1')) == 'True'">true</IsNetCore31Compatible>
7776
</PropertyGroup>
7877
<Choose>
7978
<When Condition="'$(IsWindows)'=='true'">

0 commit comments

Comments
 (0)