How can I prevent a VerificationException when running a test with attached debugger?

后端 未结 3 649
刺人心
刺人心 2021-01-12 20:32

Whenever I run either of the following unit test with a debugger attached, I get a VerificationException inside FluentValidation code at this point (will post w

3条回答
  •  春和景丽
    2021-01-12 21:31

    In my case my Asp.net MVC 3 application had a reference to FluentValidation.dll and FluentValidation.mvc.dll files.

    I removed the references and installed the FluentValidation for MVC 3 using nuget package manager and It worked.

    It downloaded FluentValidation.Mvc version 5.0.0.1

提交回复
热议问题