Skip to content

Commit

Permalink
Attempt to fix OpenNLP test compilation bug on ADO
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Nov 19, 2024
1 parent b983d55 commit 503cb4e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
</PropertyGroup>

<!-- NOTE: Technically, we can test on net472, but we don't want to publish net472 assemblies when we are testing netstandard2.0. -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'net472' Or $(TargetFramework.StartsWith('net5.')) ">
<PropertyGroup Condition=" '$(TargetFramework)' == 'net472' Or $(TargetFramework.StartsWith('net6.')) ">
<!-- For CI, we don't publish the projects and exclude them from the test run by setting IsPublishable=false and IsTestProject=false -->
<IsPublishable>false</IsPublishable>
<IsTestProject>false</IsTestProject>
<!-- For the IDE, the above doesn't work. Redirect to a supported test framework instead. -->
<TargetFramework Condition=" $(TargetFramework.StartsWith('net5.')) ">net8.0</TargetFramework>
<TargetFramework Condition=" $(TargetFramework.StartsWith('net6.')) ">net8.0</TargetFramework>
<TargetFramework Condition=" '$(TargetFramework)' == 'net472' ">net48</TargetFramework>
</PropertyGroup>

Expand Down

0 comments on commit 503cb4e

Please sign in to comment.