Unable to use VisualStudio 2012 code coverage

I am attempting to run Visual Studio 2012 code coverage via the vstest console runner. This works fine locally but fails when running through TeamCity with the following message:

[08:42:33][Step 5/5] Error:  Diagnostic data adapter ('Code Coverage') message: This adapter will  not be used for this test run. The following error occurred: Cannot mix  synchronous and asynchronous operation on process stream...



Has anyone else seen this problem?


I am running: .($vstestpath) $dllPaths /settings:$runSettings /logger:trx /InIsolation /EnableCodeCoverage
1 comment
Comment actions Permalink

Andrew,
VSTest is not yet fully supported by TeamCity, although it is planned to support in in version 8.1

I have created an issue in our tracker, so you can watch progress: http://youtrack.jetbrains.com/issue/TW-33554
Feature request on VSTest support can be found here: http://youtrack.jetbrains.com/issue/TW-25179

0

Please sign in to leave a comment.