tag:help.appveyor.com,2012-11-13:/discussions/problems/1996-build-are-failing-todayAppVeyor: Discussion 2018-10-19T08:17:09Ztag:help.appveyor.com,2012-11-13:Comment/366006162015-04-16T18:21:37Z2015-04-16T18:21:37ZBuild are failing today<div><p>Can you drop a screenshot with that error?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/366006162015-04-16T18:43:15Z2015-04-16T18:43:15ZBuild are failing today<div><p>Some notes how to deal with NuGet.org intermittent issues.</p>
<h2><a name="use-build-cache-for-nuget-packages" href="#use-build-cache-for-nuget-packages" class="anchor"></a>Use build cache for NuGet
packages</h2>
<p>To avoid downloading packages from nuget.org on every build you
can use <a href="http://www.appveyor.com/docs/build-cache">build
cache</a></p>
<p>If <code>packages</code> folder is in the root of your repo add
this to <code>appveyor.yml</code>:</p>
<pre>
<code>cache:
- packages -> **\packages.config</code>
</pre>
<p>That means <em>"preserve <code>packages</code> folder contents
between builds unless any of <code>packages.config</code>
changes"</em>.</p>
<h2><a name="enable-detailed-logging" href="#enable-detailed-logging" class="anchor"></a>Enable detailed logging</h2>
<p>If you experience <code>nuget restore</code> issues enable
detailed logging with <code>-verbosity detailed</code> command line
option, for example:</p>
<pre>
<code>nuget restore -verbosity detailed</code>
</pre>
<p>This will help to better understand the root cause of the
issue.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/366006162015-04-17T18:09:08Z2015-04-17T18:09:08ZBuild are failing today<div><p>My problems went away so it may have been nuget issue.<br>
I appreciate your suggestions and I will incorporate them.</p>
<p>Thanks</p></div>rajindersingh