Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Resharper 5.1's Test Runner to accept network shares?

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?

like image 979
mrt181 Avatar asked Nov 26 '10 07:11

mrt181


1 Answers

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.

like image 66
jamie Avatar answered Oct 27 '22 01:10

jamie