How to set a probing path for the UnitTestRunner?
Hi.
I have several assemblies in a folder called dll, which are needed by my testdll, which will be build to a folder called testDll.
When I run the test with the ReSharper unit test runner, he attempts to load the assemblies from the dll folder in the testDll folder.
So I get error like this:
Failed: Cannot load assembly from ...testDll\SomeAssembly.dll.
How can I set a probing path, that the ReSharper can find my dlls.
I dont wan't to use the Copy local option, becaus I cant edit the proj file.
With best regards
Chris
Please sign in to leave a comment.
Hello Chris,
You may want to create testDll.dll.config file and specify privatePath:
Sincerely, Ilya Ryzhenkov JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!" IR> Hi. IR> IR> I have several assemblies in a folder called dll, which are needed IR> by my testdll, which will be build to a folder called testDll. IR> IR> When I run the test with the ReSharper unit test runner, he attempts IR> to load the assemblies from the dll folder in the testDll folder. IR> IR> So I get error like this: IR> IR> Failed: Cannot load assembly from ...testDll\SomeAssembly.dll. IR> IR> How can I set a probing path, that the ReSharper can find my dlls. IR> IR> I dont wan't to use the Copy local option, becaus I cant edit the IR> proj file. IR> IR> With best regards IR> Chris IR> --- IR> Original message URL: IR>]]> http://www.jetbrains.net/devnet/message/5228147#5228147