tag:help.appveyor.com,2012-11-13:/discussions/problems/2882-error-communicating-appveyor-build-worker-apiAppVeyor: Discussion 2018-08-25T01:59:28Ztag:help.appveyor.com,2012-11-13:Comment/377470192015-08-25T03:16:46Z2015-08-25T03:16:47ZError communicating AppVeyor Build Worker API<div><p>Also, the same commit built previously in the day:</p>
<p><a href="https://ci.appveyor.com/project/JamesNewtonKing/newtonsoft-json/build/1.0.410">
https://ci.appveyor.com/project/JamesNewtonKing/newtonsoft-json/bui...</a></p></div>James Newton-Kingtag:help.appveyor.com,2012-11-13:Comment/377470192015-08-25T05:28:43Z2015-08-25T05:28:43ZError communicating AppVeyor Build Worker API<div><p>That's weird as nothing has been changed recently on AppVeyor
build workers. Could it be some external dependency?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/377470192015-08-25T05:31:49Z2015-08-25T05:31:50ZError communicating AppVeyor Build Worker API<div><p>It consistently works on my local computer and consistently (at
least now) fails on AppVeyor.</p></div>James Newton-Kingtag:help.appveyor.com,2012-11-13:Comment/377470192015-08-25T05:34:00Z2015-08-25T05:34:01ZError communicating AppVeyor Build Worker API<div><p>And there is the message "Error communicating AppVeyor Build
Worker API" which is why I guessed it was an AppVeyor thing.</p></div>James Newton-Kingtag:help.appveyor.com,2012-11-13:Comment/377470192015-08-25T05:42:22Z2015-08-25T05:42:22ZError communicating AppVeyor Build Worker API<div><p>Right, the exception comes from here: <a href="https://github.com/xunit/xunit/blob/4089905f0e7ba13160f6048b32b3a3988eb203dc/src/xunit.runner.reporters/AppVeyorReporterMessageHandler.cs#L109">
https://github.com/xunit/xunit/blob/4089905f0e7ba13160f6048b32b3a39...</a>
and the second part <code>Could not load file or assembly
'System.Net.Requests, Version=3.9.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
system cannot find the file specified.</code> could mean that
something wrong with the runner itself. I'd recommend filing an
issue there: <a href="https://github.com/xunit/xunit/issues">https://github.com/xunit/xunit/issues</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/377470192015-08-25T06:00:51Z2015-08-25T06:00:51ZError communicating AppVeyor Build Worker API<div><p>Your test project constantly pulls the latest version of xunit
DNX runner: <a href="https://github.com/JamesNK/Newtonsoft.Json/blob/master/Src/Newtonsoft.Json.Tests/project.json#L119-L120">
https://github.com/JamesNK/Newtonsoft.Json/blob/master/Src/Newtonso...</a></p>
<p>...and there is a difference between success and failed
builds:</p>
<p><code>Installing xunit.runner.dnx.2.1.0-beta5-build156</code> -
successful build <code>Installing
xunit.runner.dnx.2.1.0-beta5-build159</code> - failed build</p>
<p>Hope that helps.</p></div>Feodor Fitsner