Caching NuGet Packages

Michael Cataldo's Avatar

Michael Cataldo

Sep 17, 2014 @ 11:18 AM

Hello,

I have been asked by my colleague James Murphy to follow up on a public discussion regarding caching NuGet packages between builds in order to reduce build time. Could you please advise us on how to go about implementing caching as this is an option we would like to try to help towards improving build performance.

Regards,
Michael

  1. Support Staff 1 Posted by Feodor Fitsner on Sep 18, 2014 @ 03:42 AM

    Feodor Fitsner's Avatar

    Hi Michael,

    There is a new caching mechanism allowing to preserve directories and files between builds. I've just added an article about it: http://www.appveyor.com/docs/build-cache

    Let me know if you have any questions.

  2. 2 Posted by Nikita Tsukanov on Jul 10, 2017 @ 02:36 PM

    Nikita Tsukanov's Avatar

    Basic ASP .NET Core application from Visual Studio template will download ~600MB of nuget packages. That won't fit into your 100MB cache size limitation.

  3. 3 Posted by Ilya Finkelshte... on Jul 10, 2017 @ 10:41 PM

    Ilya Finkelshteyn's Avatar

    Thank you for the catch, this is outdated info. Removing now. Please check actual limits here.

  4. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:18 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