title: How to use nuget packages in deployment for a visual studio solution
body: <p>I have a solution which contains multiple c# projects. Some of these projects have nuget dlls as references.
  By default nuget pulls all the dlls to a folder called <em>packages</em> in the solution folder (The dlls may depend on other nuget dlls so nuget pulls them too to the packages folder). This works fine for a normal build.</p>
  
  <p>Now I want to deploy my application where all the .dlls are present in a single folder. What is the best way to collect all the nuget dlls into that folder.</p>
  
  <p><strong>Note</strong>: While adding Nuget references to a project, <code>CopyLocal</code> is set to <code>true</code> by default, so the nuget dlls are copied into the bin folder of that project. So, I can pull those dlls form there. But I am not sure how to pull the second order dependencies (Other nuget dlls on which the nuget dlls I reference depend on) as they are not copied to the bin folder of project.</p>