Reporter | Alex Berezoutsky (fergard) |
---|---|
Created | Apr 3, 2012 6:40:54 PM |
Updated | Apr 3, 2012 6:43:14 PM |
Priority | Show-stopper |
Type | Bug |
Fix versions | 7.0 |
State | Submitted |
Assignee | Victor Kropp (victor.kropp) |
Subsystem | Unit Testing |
Affected versions | 6.1.1 |
Fixed in build | No Fixed in build |
I am getting the following error (see below) when trying to run an MSTest test from ReSharper. I can run the test from VS directly and it runs and passes fine.
[Window Title] ReSharper Test Runner [Main Instruction] Unit Test Runner failed to load test assembly [Content] System.Configuration.ConfigurationErrorsException: Unable to open configSource file 'system.diagnostics.config'. (C:\Beazley.Dev\depot\projects\Beazley.Documents\Trunk\Source\Beazley.Documents.Tests\bin\Debug\TestResults\micht_UK01386 2012-03-28 10_42_41\Out\Beazley.Documents.Tests.dll.config line 85) [V] [Buttons] [Header=_OK, Content=] [Expanded Information] at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) at System.Diagnostics.DiagnosticsConfiguration.Initialize() at System.Diagnostics.DiagnosticsConfiguration.get_IndentSize() at System.Diagnostics.TraceInternal.InitializeSettings() at System.Diagnostics.TraceInternal.get_Listeners() at JetBrains.ReSharper.TaskRunnerFramework.TaskOutputInterceptor..ctor(RemoteTask task, IRemoteTaskServer server) at JetBrains.ReSharper.TaskRunnerFramework