Visual Studio 2012 Nuget Update Packages keep redownloading -
Visual Studio 2012 Nuget Update Packages keep redownloading -
using: visual studio 2012 ultimate update 4 problem: every time utilize update-package, redownloads same version. scenario: 1. fire vs2012, create new project asp.net mvc4 web application -> net application. 2. type 'update-package' in bundle manager console. downloads every bundle update. save solution. exit. 3. create new project asp.net mvc4 web application -> net application. 4. since packages not updated, type 'update-package' again. when do, download 1 time again same version downloaded during first project.
my problem is, not connected net have find net connection everytime 'update-package' update template.
is there way can save bundle updates locally when 'update-package' dont have connected net update packages?
you can create folder nuget packages, illustration d:\nugetlocalsource\
, , add together specify bundle source in nuget settings. tools -> nuget bundle manager -> packages manager settings -> bundle sources -> add
.
when updated packages first time downloaded solution_folder\packages\
. can re-create *.nupkg
files packages
folder local source , able utilize them offline other solutions. or can pre-download packages nuget.org way.
one more place can find downloaded packages locally - it's nuget cache. it's placed in c:\users\<user>\appdata\local\nuget\cache
. here nice article how utilize it
visual-studio-2012 package nuget manager
Comments
Post a Comment