"Value cannot be null: Parameter name: key" when deploy Nuget package

anderson.moreira's Avatar


05 Nov, 2014 02:48 PM

When I try to publish a Nuget package. The following error occurs .
Does anyone have any idea ?.
Value cannot be null. Parameter name: key

  at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Appveyor.Services.DeploymentWorkerService.d__1.MoveNext() in c:\Projects\Appveyor\appveyor\Appveyor\Services\DeploymentWorkerService.cs:line 141
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Appveyor.Services.BuildManager.d__48.MoveNext() in c:\Projects\Appveyor\appveyor\Appveyor\Services\BuildManager.cs:line 316

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Nov, 2014 02:56 PM

    Feodor Fitsner's Avatar

    What are the setting for nuget provider (either UI or YML)?


  2. 2 Posted by anderson.moreir... on 05 Nov, 2014 04:21 PM

    anderson.moreira's Avatar

    I use appveryor.yml (attach).

  3. 3 Posted by anderson.moreir... on 05 Nov, 2014 04:23 PM

    anderson.moreira's Avatar

    PS: I removed ApiKey from image for safety .

  4. Support Staff 4 Posted by Feodor Fitsner on 05 Nov, 2014 04:31 PM

    Feodor Fitsner's Avatar

    OK, thanks. I will take a look what's going on. 


  5. 5 Posted by anderson.moreir... on 05 Nov, 2014 10:26 PM

    anderson.moreira's Avatar


    Have you had any progress?

  6. Support Staff 6 Posted by Feodor Fitsner on 05 Nov, 2014 10:33 PM

    Feodor Fitsner's Avatar

    Will deploy a fix today.

  7. Support Staff 7 Posted by Feodor Fitsner on 06 Nov, 2014 05:24 AM

    Feodor Fitsner's Avatar

    Fix has been deployed - should be fine now. Let me know if there are any issues.

  8. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 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