tag:help.appveyor.com,2012-11-13:/discussions/problems/5203-shadow-cache-of-opencoverAppVeyor: Discussion 2018-10-19T08:18:00Ztag:help.appveyor.com,2012-11-13:Comment/406103612016-08-25T16:08:19Z2016-08-25T16:08:19ZShadow cache of OpenCover<div><p>Hi Jeremie,</p>
<p>If you add <code>where OpenCover.Console.exe</code> into your
build you'll see that the executable is not available on build
worker's PATH.</p>
<p>However, looking at that <a href="https://ci.appveyor.com/project/laedit/pretzel/build/0.4.1-ci.25.build.345">
failing build</a> and it's <a href="https://github.com/Code52/pretzel/blob/4cc68ede2f0210d143fa6f3f190c6dff5c2a6c69/BuildScripts/AppVeyor-Build.ps1">
build script</a> I suspect the old version is being installed with
this line: <a href="https://github.com/Code52/pretzel/blob/4cc68ede2f0210d143fa6f3f190c6dff5c2a6c69/BuildScripts/AppVeyor-Build.ps1#L120">
https://github.com/Code52/pretzel/blob/4cc68ede2f0210d143fa6f3f190c...</a>
which leads to that ancient package: <a href="https://www.nuget.org/packages/coveralls.io/">https://www.nuget.org/packages/coveralls.io/</a></p>
<p>Hope that helps.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/406103612016-08-25T17:28:11Z2016-08-25T17:28:11ZShadow cache of OpenCover<div><p>Thanks for your search.</p>
<p>Coveralls.io is only a tools which parse an opencover report and
send it to coveralls.io, it does not embed opencover.</p>
<p>On your suggestion I have searched for the old opencover with
this: <code>($env:path).split(';') | Get-ChildItem | where {
$_.Name -eq 'OpenCover.Console.exe' }</code><br>
And it appears that OpenCover is from Coverity: <a href="https://ci.appveyor.com/project/laedit/pretzel/build/0.4.1-ci.28.build.348#L864">
https://ci.appveyor.com/project/laedit/pretzel/build/0.4.1-ci.28.bu...</a></p>
<p>So it can interfere with existing build which does not provide
full path for OpenCover.</p></div>Jérémie Bertrandtag:help.appveyor.com,2012-11-13:Comment/406103612016-08-25T17:31:32Z2016-08-25T17:31:32ZShadow cache of OpenCover<div><p>Good finding, thanks!</p>
<p>I don't think we can easily remove Coverity from PATH, but let's
have this thread opened for others who stuck with this issue.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/406103612016-08-26T03:57:05Z2016-08-26T03:57:05ZShadow cache of OpenCover<div><p>Good to me.</p></div>Jérémie Bertrand