title: Visual Studio 2019 Error - Could not load file or assembly or one of its dependencies
body: <p>I have some trouble with running my project. When I try to run, the following error appears:</p>
  
  <blockquote>
    <p>FileNotFoundException: Could not load file or assembly 'Dapper,
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
    dependencies. The system cannot find the file specified</p>
  </blockquote>
  
  <p>Context:</p>
  
  <p>I have a Class Library X and a Web Application Y which have dependencies on X. When I try to run my API project, it throws the above error.
  BUT, when my colleagues try to run the same API project, it works fine (no errors, and in /bin folder, it loads all the .dll libraries..)</p>
  
  <p>I did those approaches:</p>
  
  <ul>
  <li>Restart Visual Studio, clean and build a solution</li>
  <li>Remove the class library references and add it again</li>
  <li>Tools > Import and Export Settings Wizard > Reset all settings (maybe some setting was not well configured). I also tried to import colleague settings and didn't work either.</li>
  </ul>
  
  <p>I tried various approaches(even in a different machine, but same VS settings) but none of these worked for me.</p>
  
  <p>Visual studio 2019 16.4 Enterprise.</p>