Skip to content

Commit

Permalink
Remove FEATURE_OPENNLP for net6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Nov 19, 2024
1 parent 326912d commit b983d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@
<DebugType>full</DebugType>
</PropertyGroup>

<!-- Features in .NET Framework 4.5+ and .NET 6.0+ but not in .NET Standard 2.0 or .NET Standard 2.1 -->
<!-- Features in .NET Framework 4.5+ and .NET 8.0+ but not in .NET Standard 2.0 or .NET Standard 2.1 -->
<!-- net472 is used to test .NET Standard 2.0, so we treat it like it is not part of this group -->
<PropertyGroup Condition=" ($(TargetFramework.StartsWith('net4')) And '$(TargetFramework)' != 'net472') Or $(TargetFramework.StartsWith('net6.')) Or $(TargetFramework.StartsWith('net7.')) Or $(TargetFramework.StartsWith('net8.')) ">
<PropertyGroup Condition=" ($(TargetFramework.StartsWith('net4')) And '$(TargetFramework)' != 'net472') Or $(TargetFramework.StartsWith('net8.')) Or $(TargetFramework.StartsWith('net9.')) ">

<DefineConstants>$(DefineConstants);FEATURE_OPENNLP</DefineConstants>

Expand Down

0 comments on commit b983d55

Please sign in to comment.