title: How to restore all nuget packages in a solution?
body: <p>I have a solution with 12 projects. The idea is to avoid all dependencies issues and whoever downloads the latest solution from TFS would just run one command at the solution level which would install all the packages in all the 12 projects. </p>
  
  <p>I have the packages.config file in individual projects and I run the following command to install it at project level </p>
  
  <p>nuget install pathtoproject\packages.config</p>
  
  <p>this works and it installs all the required references from packges.config. But I will have to execute this command 12 times for 12 projects. Is there one command at the solution level  which would install all packages.config?</p>
  
  <p>I tried
   nuget.exe restore solutionname </p>
  
  <p>and nothing happened. Thanks for any pointers.</p>