NuGet version 3.0+ is needed

superjmn's Avatar


12 Aug, 2015 05:31 PM

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.

 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'.
 58 Attempting to build symbols package for 'Glass.csproj'.
 59 Packing files from 'C:\projects\omnixaml\Source\Glass\bin\Debug'.

This is my URL in AppVeyor for the project:

You can locate NuGet.exe 3.0+ here: (link is from

Please, update to this version or provide some workaround.
Thank you a lot!

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Aug, 2015 05:51 PM

    Feodor Fitsner's Avatar

    We'll deploy nuget 3.0 to VS 2015 images today.

    For now you can use this simple script to replace it with 3.0 during the build:

  2. 2 Posted by superjmn on 12 Aug, 2015 10:16 PM

    superjmn's Avatar

    Big thanks! You rock!

  3. 3 Posted by superjmn on 13 Aug, 2015 11:43 AM

    superjmn's Avatar

    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.

    Meanwhile, I've discovered a patched version without the bug, that can be found here:

    Original post in Stack Overflow is here:

  4. Support Staff 4 Posted by Feodor Fitsner on 14 Aug, 2015 03:55 PM

    Feodor Fitsner's Avatar

    You can always override it with something like:

    (New-Object Net.WebClient).DownloadFile('', 'C:\Tools\NuGet\NuGet.exe')
  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac