We have Agents for Visual Studio 2017 installed in addition to Visual Studio itself. Please add the following commands at some point before build, to use vstest.console.exe from Agents for Visual Studio 2017:
similarly to the original post. We recently switched to 2017 image.
We are able to pick up the vstest.console.exe location but as part of that we use the switch /EnableCodeCoverage. Subsequently we then attempt to run analysis on the results of that by invoking a tool which used to live under
visual studio/14.0/Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe
It's the absence of CodeCoverage.exe I believe the OP was questioning.
The results of this process is then uploaded to Coveralls.
Can you advise how to implement the same functioanlity on the 2017 image that was previously working on 2015?
@Daniel Did you try to use the exact workaround advised in my previous post, by adding the following command at any step before you use vstest.console.exe? After you called those commands you should not have to run vstest.console.exe from specific path.
Strata is the trading name for Adazzle Limited. Adazzle Limited is a company registered in England and Wales (company number: 3910501 and VAT number: 757 1912 13 with its registered office and principal place of business at 71-91 Aldwych House, London WC2B 4HN, tel.: +44(0)20 7280 4500, e-mail [[email blocked]<mailto:[email blocked]>]. Adazzle Ltd is owned by Strata Marketing, Inc. a Comcast Company.