title: Visual Studio projects copy dependencies from referenced project into output
body: <p>Is it possible to make Visual Studio to copy all dependencies of referenced projects into the output path?</p>
  
  <h2>Example</h2>
  
  <p>In the Solution, Project A (Library, .NET Standard) defines some functions and is dependent on Library L1 (via NuGet) and Library L2 (local <code>.dll</code>, referenced and copied to project)</p>
  
  <p>Project B (Console Application) references Project A.</p>
  
  <p>When building B, The output folder contains all direct dependencies of B and <code>A.dll</code>. L1 and L2 are not available in the output. Therefore, the program does not work correctly.</p>
  
  <p>How can I force VS to copy also L1 and L2 to the output of B?</p>
  
  <p>The only way I found so far is packing A as NuGet, but this seems to be unnecessary overhead and uncomfortable. I think I am just forgetting something everyone else seems to know...</p>
  
  <h2>Edit (clearifying Example)</h2>
  
  <p>My solutions consists of two projects.</p>
  
  <h3>Project MongoWrapper</h3>
  
  <ul>
  <li>.NET Standard 2.0 class Library</li>
  <li>depends on NuGet MongoDB.Driver package</li>
  <li>Actually uses this dependency (no zombie dependency)</li>
  </ul>
  
  <h3>Project ConsoleUser</h3>
  
  <ul>
  <li>.Net Framework 4.6.1 Console Application</li>
  <li>References MongoWrapper project</li>
  <li>Actually uses MongoWrapper</li>
  </ul>
  
  <h3>Observation</h3>
  
  <p>When debugging the <code>ConsoleUser</code> application, it compiles and starts. During runtime, when it calls a method in the <code>MongoWrapper</code> which uses the MongoDB.Driver, the application crashes, as the MongoDB.Driver dependency was not copied into the output folder of the <code>ConsoleUser</code>.</p>
  
  <p>How to fix this?</p>