[英]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 10(VS2015,VS2013)测试运行器运行或调试测试的能力。
Resharper - Unit Test Runner failed to run tests (System.Runtime.Remoting.RemotingException) Found two objects associated with the same URI. Resharper - 单元测试运行器无法运行测试(System.Runtime.Remoting.RemotingException)找到两个与同一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. 例如,如果您有与测试项目关联的app.config或dll特定配置文件,并且配置文件中包含错误或无法解析。
I had the exact same issue. 我有完全相同的问题。 (issue in the app.config of my unit tests project) (在我的单元测试项目的app.config中出现问题)
the issue in my app.config was that the configSections wasn't the first node in the file. 我的app.config中的问题是configSections不是文件中的第一个节点。 I've solved it by moving the appSettings node below the configSections node. 我已经通过在configSections节点下移动appSettings节点来解决它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.