Hope most of you are aware of Nuget packages. It is a way to get 3rd party libraries into your project. Nuget also makes developer's life easier by checking for updates for all the available libraries.
Apart from this Nuget also provides package restoration option, which is disabled by default. Another annoying thing about restoration is, it is very very slow. So, it means that until your restoration is complete, you can not do anything.
What is the solution or workaround of this slow restoration of Nuget package ?
Well, one workaround can be instead of restoring packages from Visual Studio, why can't we do it outside of Visual Studio. Interesting, isn't it ???
A Very simple and straight forward command to do this is:
NuGet.exe restore [SolutionFile] –PackagesDirectory [PackagesDirectory]
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Manav PandyaPosted Dec 5, 2016, 4:16 AM
I mean can we have chat anywhere else Shweta Lodha
Manav PandyaPosted Dec 5, 2016, 4:15 AM
I can not understand can you help me more Shweta Lodha
Manav PandyaPosted Nov 28, 2016, 11:53 AM
I f i have downloaded old MVC demo and if want to use it after 2 month so how to check that old package;s are compatible or not ?
Manav PandyaPosted Nov 28, 2016, 11:52 AM
Nicely explained article Shweta Lodha mam
Lakshmanan Sethu SankaranarayanPosted Mar 31, 2014, 5:19 AM
Good one:)