Open hristijankiko opened 5 years ago
I have this exact same issue. Any ideas?
I had same issue and below solution from the owner worked for me
https://github.com/axodox/AxoCover/issues/172#issuecomment-406562661
Go to the directory where AxoCover is installed. You can locate this by running a long test (e.g. thread sleep, and open the file location of the AxoCover.Host-*.exe from the task manager. For example for me it is: C:\Users\axodo\AppData\Local\Microsoft\VisualStudio\15.0_6d93d79f\Extensions\pfu3q5ow.kny\ Then navigate to OpenCover\x86 or x64 depending on what platform your tests are running Open CMD with admin right Enter: regsvr32 /i OpenCover.Profiler.dll You will get a dialog that DLL is registered.
I had same issue and below solution from the owner worked for me
Go to the directory where AxoCover is installed. You can locate this by running a long test (e.g. thread sleep, and open the file location of the AxoCover.Host-*.exe from the task manager. For example for me it is: C:\Users\axodo\AppData\Local\Microsoft\VisualStudio\15.0_6d93d79f\Extensions\pfu3q5ow.kny Then navigate to OpenCover\x86 or x64 depending on what platform your tests are running Open CMD with admin right Enter: regsvr32 /i OpenCover.Profiler.dll You will get a dialog that DLL is registered.
Was having the same problem today for VS 2017 Professional and registering the DLL like this mentions fixed it for me.
I have the same issue, and if apply the "registering dll solution" it works. But it works only if I don't change the configuration. If I change from Debug to Release or vice-versa then I have to register the DLL again. This is really odd.
Maybe it would be easier if I had the ability to pass the "-register" param to de opencover.console.exe when it is called.
Hi,
I just installed OpenCover and AxoCover in VS2017 Professional and I can not get the Coverage report to generate. The tests all execute successfully, but the coverage report never gets generated.
This is the output in the console:
The coverage reports are empty:
Project is built as x86 Debug mode. Tests:
Coverage report page:
.settings file
Is there something else I need to for this to work?
Edit: Added .settings file
Edit2: Successfully generated OpenCover report using the command line. I just need to specify -filter and -register. Where can I do this with AxoCover?