NuGet package from feed is missing files that are present in build artifacts

andrewarnott's Avatar

andrewarnott

24 Sep, 2015 04:28 PM

This is very strange, and took a while to track down.

This build:
https://ci.appveyor.com/project/AArnott/nerdbank-gitversioning/build/1.0.9

Produced a NuPkg file that was captured by this build artifact:
https://ci.appveyor.com/api/buildjobs/vu5ric20bh914f4p/artifacts/bin/Release/Nerdbank.GitVersioning.1.1.10-rc-g0ed007f6d5.nupkg

And the NuGet package feed Appveyor offers for this precise version of my NuPkg is:
https://ci.appveyor.com/nuget/nerdbank-gitversioning-oejyfd1q8igm/api/v2/package/nerdbank.gitversioning/1.1.10-rc-g0ed007f6d5

Yet the build artifact file and the feed file are *not* the same. They're obviously from the same build because the git commit in the version number are the same, and the README file inside the NuPkg has the same content. Yet the tools folder that is present in the build artifact file is missing in the feed file. This causes the NuPkg to malfunction when installed from the feed.

Why, how, ... ?! What's going on here?

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Sep, 2015 06:33 PM

    Feodor Fitsner's Avatar

    Well, looks like it's symbols package getting published on the feed, not the main package. To be specific both packages are getting published and symbols override a normal package as they have the same packageId.

    Sounds like a bug, right?

  2. 2 Posted by andrewarnott on 24 Sep, 2015 07:12 PM

    andrewarnott's Avatar

    Thanks, Feodor. You're probably right. And yes, in general nuget feeds do not serve symbols packages. Can AppVeyor be made to only publish the non *.symbols.nupkg files?

  3. Support Staff 3 Posted by Feodor Fitsner on 24 Sep, 2015 07:50 PM

    Feodor Fitsner's Avatar

    Sure, will deploy update today/tomorrow.

  4. Support Staff 4 Posted by Feodor Fitsner on 29 Sep, 2015 04:49 AM

    Feodor Fitsner's Avatar

    It's been fixed and update deployed. Let me know how it worked for you.

  5. 5 Posted by andrewarnott on 29 Sep, 2015 06:49 PM

    andrewarnott's Avatar

    Looks great. Thank you!

  6. andrewarnott closed this discussion on 22 Jan, 2016 02:35 PM.

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

Keyboard shortcuts

Generic

? 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