i have a project that lies on a network share. The test runner tries to run the tests but fails with an error message.
Unit Test Runner failed to load assembly: JetBrains.ReSahrper.TaskRunnerFramework.TaskException: Could not load file or assembl 'File://\myshare\Visual Studio 2010\Projects\MyPorject\TestMyProject\bin\Release\TestMyProject.dll' or one of its dependencies.
The tests run with MSTest. I have enabled the option loadFromRemoteSources in devenv.exe.config on Visual Studio 2010 Pro and the Testproject is deployable.
The Problem is the location from which the Test runner tries to read the assembly (file://\)
When i start the project from C:\ it works.
What can i do?
Find the Jetbrains.resharper.taskrunner.*.exe.config files and add the line:
<loadFromRemoteSources enabled="true"/>
To the <runtime>
section.
Related to this but R# has its own external task runner so it can handle assemblies that are cpu specific (amongst other reasons).
Update: Try adding a drive letter for you share. That worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With