-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileLoadException when running tests on v2.0.0 #3
Comments
I think that the main issue is that in NSubstitute 4.x, the
then it appears to work again |
The correct implementation for NSubstitute as of 4.2.0 is:
see nsubstitute/NSubstitute#438 The only issue I have now is that the |
Minor detail:
|
Hi, I have recently stumbled across this project, and was very keen to try applying FluentAssertions to NSubstitute verifications, but I am getting the following error when I try to run my tests:
I have tried adding assembly binding redirects for NSubstitute as follows:
I am using NSubstitute 4.2.0 and FluentAssertions 5.7.0 with NUnit 3.12.0, and my application and tests are all based on .NET Framework 4.7.2. All my tests that don't use the
Verify.That
code pass, and if I rewrite my failing tests to not useVerify.That
either then they pass.Is there anything obvious that I am missing?
The text was updated successfully, but these errors were encountered: