Error: opencover not found. select open cover executable

I am using the plugin code wrapper in the visual studio 2015 community to learn about the code covers of code projects.

When I tried to use the plugin, I received this error message: "The cover of the pen was not found. Select the executable file for the open cover."

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

+4
source share
3 answers

I had the same problem, so I thought I would add as I solved it. I needed to install OpenCover and Nunit on my machine for OpenCover to work in VS. Installing only the vsix package for OpenCover is not going to do this. Go to the respective websites and download the msi files for each. Then run OpenCover again in VS. He had no problem finding Nunit, but OpenCover was installed in C: \ Users {yourUserName} \ AppData \ Local \ Apps \, so I had to point it there. Then it worked.

+1
source

OpenCover .    , OpenCover    OpenCover.UI.config. .

<Root>
    <Parameters>
        <Parameter name='enableperformancecounters'>true</Parameter>
         <Parameter name='excludebyattribute'>*.ExcludeFromCodeCoverage*</Parameter>
    </Parameters>
</Root>

,    OpenCover.

0

, OpenCover.Console.exe, , , , nunit-console.exe, Nunit.Runners.xxxx\tools

, "" > "" OpenCover.UI.

OK, .

I am not sure if there are any consequences for the link to the executable in the packages folder.

0
source

All Articles