tag:help.appveyor.com,2012-11-13:/discussions/problems/2781-nuget-version-30-is-neededAppVeyor: Discussion 2018-08-25T01:58:53Ztag:help.appveyor.com,2012-11-13:Comment/376408442015-08-12T17:31:48Z2015-08-12T17:32:02ZNuGet version 3.0+ is needed<div><p>My project is generating packages from Portable Class Libraries.
There is a known bug in NuGet versions previous to 3.0 in which
it's unable to extract the metadata (version, dependencies,
author...) from PCLs. This is what I'm getting.</p>
<p>52 Attempting to build package from 'Glass.csproj'. 53 Packing
files from 'C:\projects\omnixaml\Source\Glass\bin\Debug'. 54
WARNING: Unable to extract metadata from 'Glass.dll'. 55 Using
'Glass.nuspec' for metadata. 56 Successfully created package
'C:\Users\appveyor\AppData\Local\Temp\h33lrj6iwm\Glass.1.0.nupkg'.
57 58 Attempting to build symbols package for 'Glass.csproj'. 59
Packing files from
'C:\projects\omnixaml\Source\Glass\bin\Debug'.</p>
<p>This is my URL in AppVeyor for the project:<br>
<a href="https://ci.appveyor.com/project/SuperJMN/omnixaml">https://ci.appveyor.com/project/SuperJMN/omnixaml</a></p>
<p>You can locate NuGet.exe 3.0+ here: <a href="http://dist.nuget.org/win-x86-commandline/v3.1.0-beta/nuget.exe">http://dist.nuget.org/win-x86-commandline/v3.1.0-beta/nuget.exe</a>
(link is from <a href="http://blog.nuget.org/20150729/Introducing-nuget-uwp.html">http://blog.nuget.org/20150729/Introducing-nuget-uwp.html</a>)</p>
<p>Please, update to this version or provide some workaround.<br>
Thank you a lot!</p></div>superjmntag:help.appveyor.com,2012-11-13:Comment/376408442015-08-12T17:51:05Z2015-08-12T17:51:05ZNuGet version 3.0+ is needed<div><p>We'll deploy nuget 3.0 to VS 2015 images today.</p>
<p>For now you can use this simple script to replace it with 3.0
during the build:<br>
<a href="https://github.com/FeodorFitsner/AppVeyorUWPBuildTest/blob/master/appveyor.yml#L10-L13">
https://github.com/FeodorFitsner/AppVeyorUWPBuildTest/blob/master/a...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/376408442015-08-12T22:16:22Z2015-08-12T22:16:22ZNuGet version 3.0+ is needed<div><p>Big thanks! You rock!</p></div>superjmntag:help.appveyor.com,2012-11-13:Comment/376408442015-08-13T11:43:28Z2015-08-13T11:44:26ZNuGet version 3.0+ is needed<div><p>Oh my... it seems that this beta 3.1 has recovered the same the
bug! I'm tried to file an issue in the official NuGet 3 repo in
GitHub, but it's close for issues right now. Anyways, I've already
warned the people. I hope it gets fixed soon.</p>
<p>Meanwhile, I've discovered a patched version without the bug,
that can be found here: <a href="https://bitbucket.org/patsissons/nugetpclissue/raw/38fbf6c953292449e6765d3e0ce02ebfbef4832b/.nuget-patched/NuGet.exe">
https://bitbucket.org/patsissons/nugetpclissue/raw/38fbf6c953292449...</a></p>
<p>Original post in Stack Overflow is here: <a href="http://stackoverflow.com/questions/23676953/error-creating-nuget-package-for-portable-class-library">
http://stackoverflow.com/questions/23676953/error-creating-nuget-pa...</a></p></div>superjmntag:help.appveyor.com,2012-11-13:Comment/376408442015-08-14T15:55:10Z2015-08-14T15:55:10ZNuGet version 3.0+ is needed<div><p>You can always override it with something like:</p>
<pre>
<code>(New-Object Net.WebClient).DownloadFile('https://bitbucket.org/patsissons/nugetpclissue/raw/38fbf6c953292449e6765d3e0ce02ebfbef4832b/.nuget-patched/NuGet.exe', 'C:\Tools\NuGet\NuGet.exe')</code>
</pre></div>Feodor Fitsner