Skip to content

Commit

Permalink
chore(deps): update dependency snapshooter.nunit to v0.14.1
Browse files Browse the repository at this point in the history
Also remove workaround for Snapshooter/NUnit 4/.NET 4.6.2 compat issue
  • Loading branch information
fgreinacher authored Jan 17, 2024
1 parent b0726af commit d32fedd
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,12 @@
<PackageReference Include="NUnit" Version="4.0.1" />
<PackageReference Include="NUnit.Analyzers" Version="3.10.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Snapshooter.NUnit" Version="0.14.0" />
<PackageReference Include="Snapshooter.NUnit" Version="0.14.1" />
</ItemGroup>
<PropertyGroup>
<!--
Allow deprecated binary formatter functionality on .NET 8 so that we can test it
-->
<EnableUnsafeBinaryFormatterSerialization Condition="'$(TargetFramework)' == 'net8.0'">true</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>
<!--
Snapshooter is currently broken when referencing NUnit 4 from a .NET 4.6.2 project.
The following blocks work around this by referencing NUnit 3 in that case.
-->
<PropertyGroup>
<_Net462NUnitVersion>3.14.0</_Net462NUnitVersion>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<PackageReference Update="NUnit" Version="$(_Net462NUnitVersion)" />
</ItemGroup>
</Project>

0 comments on commit d32fedd

Please sign in to comment.