Resharper runs UnitTest from different location

前端 未结 10 772
清歌不尽
清歌不尽 2020-12-01 15:46

When I run unit tests with Visual Studio it works fine, because it runs from project directory where all assemblies are. But when I run it with resharper it

10条回答
  •  佛祖请我去吃肉
    2020-12-01 16:00

    Resharper shadow copies assemblies for testing by default. If you turn off shadow-copy, it will run in the bin folder and the test should pass. Here are some instructions on turning it off.

提交回复
热议问题