Cannot Find CodeCoverage.exe

martin.costello1's Avatar

martin.costello1

04 Nov, 2015 09:24 PM

As part of my build process I use the Visual Studio CodeCoverage.exe tool to convert MSTest trx result files to XML to upload to coveralls.io.

Since updating my build to use Visual Studio 2015, this step is no longer working because the tool cannot be found.

Locally I use the path %VS140COMNTOOLS%..\..\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe to find the tool. In AppVeyor this expands to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\..\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe, but the file cannot be found there by my MSBuild scripting.

Is Visual Studio 2015 actually installed here on the worker images or is it somewhere else on disk? I couldn't find anything on the documents for the build image that said it was in a non-standard location.

  1. Support Staff 1 Posted by Feodor Fitsner on 04 Nov, 2015 09:32 PM

    Feodor Fitsner's Avatar

    Well, I can't find that file in VS 2015 either. That's interesting as there is VS 2013 Community installed and that file exists, however VS 2015 Community doesn't have it anymore. :-/

  2. 2 Posted by martin.costello... on 04 Nov, 2015 09:35 PM

    martin.costello1's Avatar

    Hmm interesting. I have 2015 Enterprise installed locally, so maybe Microsoft changed the SKU that the file comes with?

    I'll try processing the .trx from the 2015 test runner with the 2013 version.

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac