jeudi 26 novembre 2015

ReSharper run unit test but have wrong location and missing configuration file (ApplicationBase)

When I run unit test from ReSharper my AppDomain.CurrentDomain.SetupInformation have path: C:\Users\%USERNAME%\AppData\Local\Temp\hwa3yebt.mas\.config (IIS temp dictionary) and it doesn't work and throws System.IO.FileNotFoundException

but when I run unit test from Visual Studio test explorer AppDomain.CurrentDomain.SetupInformation have path : C:/Repository//bin/debug and it works.

What I should do to run ReSharper unit tests?

Aucun commentaire:

Enregistrer un commentaire