tag:help.appveyor.com,2012-11-13:/discussions/problems/4252-error-when-publishing-nuget-packages-to-mygetorgAppVeyor: Discussion 2018-08-25T02:04:33Ztag:help.appveyor.com,2012-11-13:Comment/393155352016-03-03T14:33:13Z2016-03-03T14:33:13ZError when publishing nuget packages to myget.org<div><p>Will take a look.<br>
When publishing from command line what nuget.exe version you used
and what was publishing URL?</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/393155352016-03-03T19:04:13Z2016-03-03T19:04:13ZError when publishing nuget packages to myget.org<div><p>I've tested publishing to MyGet and it worked: <a href="https://ci.appveyor.com/project/FeodorFitsner/nuget-test/build/2.0.326">
https://ci.appveyor.com/project/FeodorFitsner/nuget-test/build/2.0.326</a></p>
<p>However, when I try publishing your package from command line
I'm getting error:</p>
<pre>
<code>C:\> nuget push HandyHelpers.0.1.0-10.nupkg <MY-API-KEY> -Source https://www.myget.org/F/MY-FEED/api/v2/package
'0.1.0-10' is not a valid version string.
Parameter name: version</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/393155352016-03-04T01:53:39Z2016-03-04T01:53:39ZError when publishing nuget packages to myget.org<div><p>Hi Feodor,</p>
<p>I'm using the default nuget.exe from the VS2015 OS image.</p>
<p>Thanks,<br>
C</p></div>Christopher Xutag:help.appveyor.com,2012-11-13:Comment/393155352016-03-04T02:00:20Z2016-03-04T02:00:20ZError when publishing nuget packages to myget.org<div><p>No worries! I got it!<br>
I've changed my version to 0.1.0-alpha-* and it worked.</p></div>Christopher Xutag:help.appveyor.com,2012-11-13:Comment/393155352016-03-04T02:05:26Z2016-03-04T02:05:26ZError when publishing nuget packages to myget.org<div><p>Cool, thanks for the update!</p>
<p>-Feodor</p></div>Feodor Fitsner