Skip to content

Commit

Permalink
chore: Switched to conditional ItemGroups
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion committed Jun 18, 2024
1 parent c073f58 commit 79b7d50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
<PackageVersion Include="NetEvolve.Extensions.XUnit" Version="2.2.12" />
<PackageVersion Include="Polyfill" Version="5.3.0" />
<PackageVersion Include="xunit" Version="2.8.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'netcoreapp3.1' ">
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net5.0' And '$(TargetFramework)' != 'netcoreapp3.1' ">
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.1" />
<PackageVersion Update="xunit.runner.visualstudio" Version="2.8.1" Condition=" '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'netcoreapp3.1' " />
</ItemGroup>
</Project>

0 comments on commit 79b7d50

Please sign in to comment.