Intermittent NuGet restore problems

Andrew Craven's Avatar

Andrew Craven

28 Feb, 2015 03:22 PM

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.

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Feb, 2015 03:42 PM

    Feodor Fitsner's Avatar

    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

  2. Support Staff 2 Posted by Feodor Fitsner on 28 Feb, 2015 04:09 PM

    Feodor Fitsner's Avatar

    We notified NuGet team about the issue.

    Btw, you can setup cache for nuget packages that will be invalidated only if one of packages.config is changed:

    cache:
      - packages -> **\packages.config
    
  3. 3 Posted by Andrew Craven on 01 Mar, 2015 09:48 AM

    Andrew Craven's Avatar

    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. 4 Posted by Andrew Craven on 01 Mar, 2015 09:51 AM

    Andrew Craven's Avatar

    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.

    ________________________________

  5. Support Staff 5 Posted by Feodor Fitsner on 01 Mar, 2015 02:58 PM

    Feodor Fitsner's Avatar

    Thanks for the update!

    -Feodor

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.

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

Recent Discussions

09 Jul, 2026 04:35 PM
07 Jul, 2026 07:22 PM
30 Jun, 2026 08:51 PM
26 Jun, 2026 03:33 PM
25 Jun, 2026 12:31 AM

 

05 Jun, 2026 07:28 PM
29 May, 2026 02:17 PM
28 May, 2026 06:46 PM
21 May, 2026 04:32 AM
12 May, 2026 05:50 PM
12 May, 2026 04:16 PM