tag:help.appveyor.com,2012-11-13:/discussions/problems/446-nuget-deployment-environment-push-failsAppVeyor: Discussion 2018-10-19T08:16:36Ztag:help.appveyor.com,2012-11-13:Comment/334515852014-06-18T17:47:05Z2014-06-18T17:47:05ZNuGet Deployment Environment push fails<div><p>How do you push those artifacts with back slash in their
path?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-06-18T18:22:51Z2014-06-18T18:22:51ZNuGet Deployment Environment push fails<div><p>Note the use of forward slashes in the last part of the path
<code>2zk0lawn\build/artifacts/Lucene.Net.Linq.3.3.0.nupkg</code>
(there are two of them). These relative paths should be converted
to use backslashes when invoking nuget.exe, which unfortunately
does not correctly handle forward slashes even though they are
perfectly valid on Windows.</p></div>chris.eldredgetag:help.appveyor.com,2012-11-13:Comment/334515852014-06-18T19:03:44Z2014-06-18T19:03:44ZNuGet Deployment Environment push fails<div><p>I mean you are pushing those artifacts using
<code>appveyor</code> command line or PowerShell?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-06-18T19:07:01Z2014-06-18T19:07:01ZNuGet Deployment Environment push fails<div><p>As I said in the original post, I created an Environment using
the NuGet Provider.</p>
<p>If it wasn't clear, I did this using the web portal on <a href=
"https://ci.appveyor.com/environments">https://ci.appveyor.com/environments</a></p>
<p>Therefore I don't have any control over how nuget.exe is
invoked.</p></div>chris.eldredgetag:help.appveyor.com,2012-11-13:Comment/334515852014-06-18T19:50:15Z2014-06-18T19:50:15ZNuGet Deployment Environment push fails<div><p>Sorry, I meant how did you push packages to "Artifacts" tab of
build details. Never mind, I see there is a problem in NuGet
deployment provider. Will fix that.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-06-20T19:41:12Z2014-06-20T19:41:12ZNuGet Deployment Environment push fails<div><p>Looks like this is fixed now. Thanks!</p></div>chris.eldredgetag:help.appveyor.com,2012-11-13:Comment/334515852014-06-30T13:51:22Z2014-06-30T13:51:22ZNuGet Deployment Environment push fails<div><p>Looks like maybe this wasn't fixed or the fix regressed? I just
tried to deploy my project (<a href=
"https://ci.appveyor.com/project/chriseldredge/lucene-net-linq/">https://ci.appveyor.com/project/chriseldredge/lucene-net-linq/</a>)
and it failed with the same error as original post.</p></div>chris.eldredgetag:help.appveyor.com,2012-11-13:Comment/334515852014-06-30T13:57:08Z2014-06-30T13:57:08ZNuGet Deployment Environment push fails<div><p>There is a new URL for pushing packages - make sure it ends with
<code>/api/v2/package</code>. See "NuGet" page under account to see
push command.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-06-30T14:00:08Z2014-06-30T14:00:08ZNuGet Deployment Environment push fails<div><p>I'm not specifying a push URL so the default (NuGet Gallery)
should be used. Deployment log:</p>
<pre>
<code>Downloading artifact build/artifacts/Lucene.Net.Linq.3.3.1.nupkg to temporary location
nuget push "C:\Resources\directory\414464e4bda24612b1f57a8e0b52a7f6.Appveyor.Worker.Temp\1aoelaoj\build/artifacts/Lucene.Net.Linq.3.3.1.nupkg" -ApiKey ...
The system cannot find the file specified</code>
</pre></div>chris.eldredgetag:help.appveyor.com,2012-11-13:Comment/334515852014-06-30T14:18:35Z2014-06-30T14:18:35ZNuGet Deployment Environment push fails<div><p>I see, sorry, mixed up with another case. Will fix that issue
and deploy update shortly.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-07-03T10:56:29Z2014-07-03T10:56:29ZNuGet Deployment Environment push fails<div><p>The issue has been fixed and update deployed. Thanks for your
patience.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-07-19T05:31:41Z2015-01-25T23:08:25ZNuGet Deployment Environment push fails<div><p>looks like this is broken again?</p></div>chris.dosterttag:help.appveyor.com,2012-11-13:Comment/334515852014-07-19T05:42:25Z2014-07-19T05:42:25ZNuGet Deployment Environment push fails<div><p>What error are you getting?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-07-19T06:37:37Z2015-01-25T23:08:25ZNuGet Deployment Environment push fails<div><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage {
font-size: 12pt; font-family:Calibri } -->
<div>
<div><span> </span>
<div class="inlineImage"><img height="611" width="796"></div>
<span> </span></div>
<br>
<br>
<div>
<hr>
From:
tender2+d6f3282ad6d5d95c805fa035fd8096cd94c18f0c0@tenderapp.com<br>
Date: Sat, 19 Jul 2014 01:42:30 -0400<br>
Subject: Re: NuGet Deployment Environment push fails [Problems
#446]<br>
To: chris.dostert@live.com<br>
<br>
<!-- .ExternalClass pre { width:92%; padding:5px 2%;
background:#efefef; border:1px solid #d6d6d6; } .ExternalClass
blockquote { padding-left:1em; border-left:5px solid #ccc; } -->
<table width="100%">
<tr>
<td>
<p>// Please reply above this line<br>
==================================================</p>
<b>From</b>: Feodor Fitsner (Support staff)<br>
<div>What error are you getting?<br></div>
<div>On Sat, Jul 19 at 05:31 AM, Chris Dostert wrote:<br>
<blockquote>
<div>looks like this is broken again?<br></div>
</blockquote>
</div>
</td>
</tr>
<tr>
<td>
<p>Having trouble reading this? View this discussion online:
<a href=
"http://help.appveyor.com/discussions/problems/446-nuget-deployment-environment-push-fails">
NuGet Deployment Environment push fails</a>.</p>
<p>Reply with #ignore to stop receiving notifications for this
discussion.</p>
</td>
</tr>
</table>
</div>
</div></div>chris.dosterttag:help.appveyor.com,2012-11-13:Comment/334515852014-07-19T07:47:48Z2014-07-19T07:47:48ZNuGet Deployment Environment push fails<div><p>Will fix and deploy update shortly.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-07-19T15:19:27Z2014-07-19T15:19:27ZNuGet Deployment Environment push fails<div><p>Just deployed an update fixing that issue. Give it another
try.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/334515852014-07-19T20:42:55Z2015-01-25T23:08:25ZNuGet Deployment Environment push fails<div><p>Working beautifully again. You're the man! Thx -CD</p></div>chris.dostert