Nuget Provider not finding nuget package to deploy

ericnewton76's Avatar

ericnewton76

24 Sep, 2014 02:35 PM

I'm having trouble getting my project, which has a nuspec file, to upload to the Nuget shared package repository.

I get an error message about "No artifiacts" and when I check artifacts for the build, it shows none.

Can you guys look into the Nuget area of the docs, and provide a step-by-step on them both, or create a separate topic altogether for your Nuget deployment options? Thanks.

PS. Really loving this CI, thanks for building this!

Log: -----
Deploying using Nuget Provider
No artifacts found were uploaded.
------

https://ci.appveyor.com/project/EricNewton/gmaps-api-net

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Sep, 2014 05:27 PM

    Feodor Fitsner's Avatar

    Hi Eric,

    I'm looking into this.

  2. 2 Posted by ericnewton76 on 30 Sep, 2014 10:34 PM

    ericnewton76's Avatar

    Any progress?

  3. Support Staff 3 Posted by Feodor Fitsner on 30 Sep, 2014 11:15 PM

    Feodor Fitsner's Avatar

    Yep, will update you today.-Feodor

  4. Support Staff 4 Posted by Feodor Fitsner on 01 Oct, 2014 03:06 AM

    Feodor Fitsner's Avatar
  5. 5 Posted by ericnewton76 on 01 Oct, 2014 03:12 PM

    ericnewton76's Avatar

    Thank you for updating the project, Feodor.

    I was hoping to utilize AppVeyor's more built-in builds but this will work fine, since I believe some in the project want to have the nuget package support separate framework versions.

    Now I just have to update the nuspec to have the version number match the AppVeyor build

  6. Support Staff 6 Posted by Feodor Fitsner on 01 Oct, 2014 03:15 PM

    Feodor Fitsner's Avatar

    Sounds great, thanks for the update!

  7. 7 Posted by ericnewton76 on 01 Oct, 2014 04:24 PM

    ericnewton76's Avatar

    So, I updated my build script and AppVeyor detects the nupkg artifacts, but they dont seem to be pushing to Nuget.org

    Does it have something to do with not setting something in AppVeyor.yml now?

  8. Support Staff 8 Posted by Feodor Fitsner on 01 Oct, 2014 04:34 PM

    Feodor Fitsner's Avatar

    To deploy packages add this section to appveyor.yml:

    deploy:
      provider: NuGet
      api_key:
        secure: <encoded_key>
    

    Where <encoded_key> is NuGet API key encoded with this utility: https://ci.appveyor.com/tools/encrypt

  9. 9 Posted by ericnewton76 on 01 Oct, 2014 04:57 PM

    ericnewton76's Avatar

    So thats unfortunate that appveyor.yml takes complete and unadulterated priority over items specified in the nice UI.

    Perhaps, the UI could generate an AppYevor.yml file that could be analyzed for changes/differences?

  10. Support Staff 10 Posted by Feodor Fitsner on 01 Oct, 2014 05:04 PM

    Feodor Fitsner's Avatar

    Yep, but you can set "Ignore appveyor.yml" option on UI.

  11. 11 Posted by ericnewton76 on 07 Dec, 2017 02:37 AM

    ericnewton76's Avatar

    can probably close this. =D

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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