-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Cannot find CodeCoverage.exe" on self-hosted agent #7377
Comments
@SeriousM can you please provide the build/release logs with system.debug=true. Also in the vstest task have you set the test platform version to installed by tools installer? |
That was the solution. It was set to "Latest" which suggested to select a special version, not a result of a preview executed task. |
@SeriousM thank you for your feedback. @PBoraMSFT for taking a look at the feedback. |
+1 I reproduced this with same version of agent and VS installed |
@jairov4 - Code coverage does not ship in VS Professional edition. You need to use VS Enterprise or use the test platform installer task. |
I used Visual Studio Test Platform Installer task like this. however I still face dll not loading exception when i try to access it from the runsettings
what could be I missing. how to specically say, hey VSTPI, install the DynamicCoverageDataCollector |
FROM: microsoft/azure-pipelines-agent#1605
Have you tried trouble shooting?
Trouble shooting doc
yes
Agent Version and Platform
Version of your agent? 2.134.2
OS of the machine running the agent? Windows 10, 1803
The agent-machine has VS2017 Professional installed.
VSTS Type and Version
VisualStudio.com
If VisualStudio.com, what is your account name? http://scan2lead.visualstudio.com
What's not working?
I use "Visual Studio Test Platform Installer (Preview)" and "Visual Studio Test (v2)" to run my tests. I enabled Code Coverage for them.
The codecoverage.exe files are located at
but the logs tell me
If I run the same tasks on a VSTS Hosted Agent the coverage works.
Agent and Worker's Diagnostic Logs
Agent_20180530-071436-utc.log
Worker_20180605-074323-utc.log
Related Repositories
Please ensure you are logging issues to the correct repository in order to get the best support.
If you are hitting a generic issue about VSTS/TFS, please report it to the Developer Community
The text was updated successfully, but these errors were encountered: