AxoCover: "Could not create service" exception when clicking Cover, Cover tests, or building with 'Cover after every build' turned on.
I’m getting an error in the AxoCover Output window pane when I click the Cover option in the header bar, the Cover tests option in the context menu, or build with “Cover after every build” turned on (via the Context menu).
Please let me know what additional information you would like. AxoCover is a great tool and I’m glad to have found it!
Here’s the contents of the Output window pane:
Test execution started.
AxoCover encountered an error:
Test execution failed.
SerializableException: Could not create service.
at AxoCover.Models.TestProcess`1..ctor(IProcessInfo processInfo) in C:\projects\axotools\AxoCover\Models\TestProcess.cs:line 36
at AxoCover.Models.ExecutionProcess.Create(String[] testPlatformAssemblies, IHostProcessInfo hostProcess, TestPlatform testPlatform) in C:\projects\axotools\AxoCover\Models\ExecutionProcess.cs:line 28
at AxoCover.Models.AxoTestRunner.RunTests(TestItem testItem, Boolean isCovering, Boolean isDebugging) in C:\projects\axotools\AxoCover\Models\AxoTestRunner.cs:line 176
at AxoCover.Models.TestRunner.<>c__DisplayClass31_0.<RunTestsAsync>b__0() in C:\projects\axotools\AxoCover\Models\TestRunner.cs:line 53
The Build version is 1.1.244 per the Settings window. The last check for updates was today.
Microsoft Visual Studio Professional 2017 Version 15.2 (26430.16) Release VisualStudio.15.Release/15.2.0+26430.16 Microsoft .NET Framework Version 4.6.01590
Installed Version: Professional
I have telemetry turned ON for AxoCover.
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 19 (6 by maintainers)
Ok, I think I will add some developer options, namely:
Hopefully this will help to understand the issue.