mrt181
mrt181

Reputation: 5316

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?

Upvotes: 11

Views: 2108

Answers (1)

jamie
jamie

Reputation: 3043

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.

Upvotes: 25

Related Questions