Just press cmd+H in Visual Studio and replace
1 2 3 |
Should(). with Should |
and
1 2 3 |
using FluentAssertions; with using Shouldly; |
99% percent of the errors should be gone.
If you like to stay with FluentAssertions (which I do not recommend), open your .csproj file and put brackets around the version. This will prevent you upgrading to version 8
1 |
<PackageReference Include="FluentAssertions" Version="[7.0.0]" /> |
Login