简体   繁体   中英

Resharper - Unit Test Runner failed to run tests (System.Runtime.Remoting.RemotingException)

I've lost the ability to run or debug tests from Resharper 10 (VS2015, VS2013) test runner.

Resharper - Unit Test Runner failed to run tests (System.Runtime.Remoting.RemotingException) Found two objects associated with the same URI.

Clean/Rebuild/Restart do not help.

在此输入图像描述

Typically I have found that to be a misleading message about an exception that occurred with configuration. If, for example, you have an app.config or dll specific config file associated with the test project and the config file has an error in it or is unable to be parsed.

I had the exact same issue. (issue in the app.config of my unit tests project)

the issue in my app.config was that the configSections wasn't the first node in the file. I've solved it by moving the appSettings node below the configSections node.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM