Symbol page upload returns 404

Rasmus Mikkelsen's Avatar

Rasmus Mikkelsen

29 Sep, 2020 05:59 AM

My build finishes with an error when deploying symbols to NuGet.org

Deploying using NuGet provider
Publishing EventFlow.0.80.4370.snupkg to https://www.nuget.org/api/v2/symbolpackage...
Error publishing package. NuGet server returned 404: Not Found

Build link: https://ci.appveyor.com/project/eventflow/eventflow/builds/35456787
Config link: https://github.com/eventflow/EventFlow/blob/master/appveyor.yml

  1. Support Staff 1 Posted by Feodor Fitsner on 29 Sep, 2020 04:38 PM

    Feodor Fitsner's Avatar

    Hi Rasmus,

    Publishing of .snupkg packages by itself works: https://ci.appveyor.com/project/appveyor-tests/snupkgtest/builds/35...

    I think the reason you get 404 is that your build is pushing only .snupkg packages without corresponding .nupkg packages. I guess NuGet.org expects you first push .nupkg package and then .snupkg.

  2. 2 Posted by Rasmus Mikkelse... on 01 Oct, 2020 05:25 PM

    Rasmus Mikkelsen's Avatar

    Not sure how I can control the upload. I have split the upload into two different providers, hoping that ordering is respected

    https://github.com/eventflow/EventFlow/blob/master/appveyor.yml#L42

  3. 3 Posted by Rasmus Mikkelse... on 01 Oct, 2020 05:58 PM

    Rasmus Mikkelsen's Avatar

    Found the issue, no nuget packages were generated during build. Only snupkg

  4. Support Staff 4 Posted by Feodor Fitsner on 01 Oct, 2020 07:04 PM

    Feodor Fitsner's Avatar

    Cool, thanks for the update!

  5. Feodor Fitsner closed this discussion on 01 Dec, 2020 09:03 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