tag:help.appveyor.com,2012-11-13:/discussions/problems/25082-opencover-does-not-workAppVeyor: Discussion 2019-11-05T21:34:29Ztag:help.appveyor.com,2012-11-13:Comment/476976752019-10-05T20:42:34Z2019-10-05T20:42:34ZOpenCover does not work<div><p>I'm not sure what could be wrong with your tests on AppVeyor environment. Have you tried following this article yet: <a href="https://dev.to/codingdefined/how-i-added-appveyor-codecov-to-net-core-open-source-project-54m6">https://dev.to/codingdefined/how-i-added-appveyor-codecov-to-net-co...</a>?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/476976752019-10-06T07:11:06Z2019-10-06T07:11:06ZOpenCover does not work<div><p>I did but to no vail, looks something is wrong with my command for OpenCover, cause it is not also working on a local windows machine. I will investigate more and will update ASAP</p></div>shahabganjitag:help.appveyor.com,2012-11-13:Comment/476976752019-10-06T07:52:49Z2019-10-06T07:52:49ZOpenCover does not work<div><p>I switched to coverlet instead, and all work just fine.</p></div>shahabganjitag:help.appveyor.com,2012-11-13:Comment/476976752019-10-07T15:47:07Z2019-10-07T15:47:07ZOpenCover does not work<div><p>Nice! Could you drop a link to a working build then, as an example? Thank you!</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/476976752019-10-08T05:37:57Z2019-10-08T05:37:57ZOpenCover does not work<div><p>This is the latest build ATM on appveyor CI: <a href="https://ci.appveyor.com/project/shahabganji/funx">https://ci.appveyor.com/project/shahabganji/funx</a></p>
<p>And this is the link to the latest appveyor.yml file in my repository:</p>
<p><a href="https://github.com/shahabganji/Funx/blob/master/appveyor.yml">https://github.com/shahabganji/Funx/blob/master/appveyor.yml</a></p></div>shahabganjitag:help.appveyor.com,2012-11-13:Comment/476976752019-10-08T14:33:00Z2019-10-08T14:33:00ZOpenCover does not work<div><p>Thanks!</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/476976752019-11-04T23:23:34Z2019-11-04T23:23:35ZOpenCover does not work<div><p>Try to use <code>-register:appveyor</code> instead of <code>-register:user</code>, it helped me solve the same case. May be it's worth to correct this in the guide <a href="https://www.appveyor.com/blog/2017/03/17/codecov/">https://www.appveyor.com/blog/2017/03/17/codecov/</a>.</p></div>dmitriy.litichevskiytag:help.appveyor.com,2012-11-13:Comment/476976752019-11-05T02:17:55Z2019-11-05T02:17:55ZOpenCover does not work<div><p>Hi Dmitriy,</p>
<p>You can actually contribute to that blog post: <a href="https://github.com/appveyor/website/blob/master/src/_posts/2017-03-17-codecov.md">https://github.com/appveyor/website/blob/master/src/_posts/2017-03-...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/476976752019-11-05T21:34:28Z2019-11-05T21:34:29ZOpenCover does not work<div><p>Feodor, I'm afraid that correcting the guide was my hasty decision. According to issues<br>
<a href="https://github.com/OpenCover/opencover/issues/911">https://github.com/OpenCover/opencover/issues/911</a><br>
<a href="https://github.com/OpenCover/opencover/issues/914">https://github.com/OpenCover/opencover/issues/914</a><br>
<a href="https://github.com/OpenCover/opencover/issues/915">https://github.com/OpenCover/opencover/issues/915</a><br>
the problem was caused by the combination of the software inside the image and specifying the concrete user name in the build configuration may be wrong decision in the long run. So this topic needs more investigation, I guess)<br>
What do you think about it?</p></div>dmitriy.litichevskiy