Intermittent NuGet restore problems
I've been enjoying AppVeyor for a number of weeks, but since this week's upgrade (great job on the -IncludeReferencedProjects fix BTW) I've been receiving a number of "Unable to find version 'x' of package 'y' errors.
This has happened on both a new repository and also a repository that was previously building without issue. I've tried adding the cache option to cache the local NuGet cache, and I've also tried using the previous Windows 2012 OS image. Neither have worked.
I'm currently trying to set up my repository to post to coveralls.io, but I'm continually running into this issue which is blocking my progress.
Any assistance you can give me in fixing or working around the problem would be most appreciated.
Regards,
Andrew.
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

Support Staff 1 Posted by Feodor Fitsner on 28 Feb, 2015 03:42 PM
We've been seeing these errors for a day-two in test bot builds running on both Azure and Pro environments. It's nothing to do with AppVeyor.
We had been experiencing that before and that time there were issues on nuget.org side gone after few days.
What problem did you have with cache?
-Feodor
Support Staff 2 Posted by Feodor Fitsner on 28 Feb, 2015 04:09 PM
We notified NuGet team about the issue.
Btw, you can setup cache for nuget packages that will be invalidated only if one of
packages.configis changed:3 Posted by Andrew Craven on 01 Mar, 2015 09:48 AM
Thanks for the prompt reply Feodor.
I don't believe I've seen the issue again since I contacted you. That may be because I'm caching the NuGet package cache.
With regards to the cache I would have expected that once a green build had gone through the packages would be cached. This now seems to be the case, but I can't say for sure that the caching has fixed the issue or the issue is not occurring. Either way I'm not seeing the issue at the moment.
Regards,
Andrew.
________________________________
4 Posted by Andrew Craven on 01 Mar, 2015 09:51 AM
Thanks for the suggestion.
I'm using the following that someone else had suggested:
cache: C:\Users\appveyor\AppData\Local\NuGet\Cache
As I mentioned in my last comment, I'm not sure if this has stopped the issue from affecting me or the issue has stopped happening.
Regards,
Andrew.
________________________________
Support Staff 5 Posted by Feodor Fitsner on 01 Mar, 2015 02:58 PM
Thanks for the update!
-Feodor
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.