category: [ Visual Studio ] tags: [ NuGet ] [ Visual Studio ]
created: 25 Sep 2014 @ 10:03 modified: 24 Apr 2017 @ 13:57
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
You can simple hit ctrl + Q type NuGet and then choose Package Manager Settings.
When the window opens click Browse.
This will open a Windows Explorer window with a path like below
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
Give this new package source a name and paste the path into the Source textbox
Click OK and you sorted. Your pc will now use your local cache for packages as well
Gordon Beeming works at Nologo Studios in the sunny city of Durban, South Africa. He is the Lead for the Data and Services Team and has a strong focus on Developer Efficiencies and R&D. When he's not hacking away at a keyboard in Visual Studio he'll generally be relaxing with his family or hitting the black top getting in some mileage. He is a Visual Studio ALM Ranger and Visual Studio ALM MVP.