Turning "on" local cache for NuGet

My internet connection is slow or down quite a lot. One of the things Robert MacLean pointed out today in a presentation at a Microsoft Dev Day event today is that is that you can make use of the local cache from previous downloaded packages. Below is how to do this
📅 25 Sep 2014

My internet connection is slow or down quite a lot. One of the things Robert MacLean pointed out today in a presentation at a Microsoft Dev Day event today is that is that you can make use of the local cache from previous downloaded packages. Below is how to do this Smile

You can simple hit ctrl + Q type NuGet and then choose Package Manager Settings.

image

When the window opens click Browse.

2014-09-25_11-53-06

This will open a Windows Explorer window with a path like below

2014-09-25_11-55-38

Copy that path into your clipboard and go back to the Package Manager Settings window. Click on the Package Sources tab and then click on the new button

2014-09-25_11-57-35

Give this new package source a name and paste the path into the Source textbox

2014-09-25_11-59-22

Click OK and you sorted. Your pc will now use your local cache for packages as well Smile