title: Dependencies not flowing between dependent projects, causing System.IO.FileNotFoundException
body: <p>Let's say my solution has 2 projects:</p>
  
  <ul>
  <li>The first called "MainProject" (A .NETStandard 2.0 project).</li>
  <li>The second called "MainProjectTests" (A NUnit test project) with some unit tests for each class into "MainProject".</li>
  </ul>
  
  <p>The first project (MainProject) has a NuGet dependency called "dependencyX". Obviously, the project "MainProjectTests" has a reference to "MainProject".</p>
  
  <p>So when the test runner runs a test of "MainProjectTests" that calls methods from "MainProject" using "dependencyX" I'm getting a <code>System.IO.FileNotFoundException</code> exception:</p>
  
  <blockquote>
    <p>System.IO.FileNotFoundException : Could not load file or assembly
    'dependencyX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one
    of its dependencies.</p>
  </blockquote>
  
  <p>Why am I getting this exception? When I add "dependencyX" to "MainProjectTests" all works fine, but it seems to me not a good practice... How to solve it?</p>
  
  <p>I'm using Visual Studio for Mac Community 7.2 preview (7.2 build 583)</p>
  
  <p>Thanks for the help.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Tried putting the options:</p>
  
  <pre><code>&lt;RestoreProjectStyle&gt;PackageReference&lt;/RestoreProjectStyle&gt;
  
  &lt;AutoGenerateBindingRedirects&gt;true&lt;/AutoGenerateBindingRedirects&gt;
  </code></pre>
  
  <p>in the NUnit project, but getting the same result.</p>