Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: opencover not found. please select the open cover executable

I am using the plugin code cover in visual studio 2015 community to know the code coverage of the code projects.

When I tried to use the plugin I received this error message: "pen cover not found. Please select the open cover executable."

I've installed the opencover.4.6.519 and the plugin in visual studio.

like image 405
Fátima do Vale Avatar asked Jun 23 '16 11:06

Fátima do Vale


1 Answers

I just had the same issue, so I thought I would add how I resolved it. I needed to install OpenCover and Nunit on my machine in order for OpenCover to work in VS. Installing just the vsix package for OpenCover isn't going to do it. Go to their respective websites and download the msi files for each. Then run OpenCover again in VS. It had no problem finding Nunit, but OpenCover installed in C:\Users{yourUserName}\AppData\Local\Apps\ so I had to point it to there. Then it worked.

like image 177
Doug F Avatar answered Sep 20 '22 17:09

Doug F