title: Why is the build failing in Visual Studio because it cannot resolve namespaces from referenced assemblies?
body: <p>I have 3 class library projects. Lets call them A, B &amp; C. I have added <code>project reference</code> of A &amp; B into the project C.</p>
  
  <p>A &amp; B are building without any error or warning.</p>
  
  <p>Code(Class file) from the project C uses public classes from A &amp; B. <strong>When I add project reference in C and look at the class file (before building project C) in the C project, I can clearly see that all the classes and namespaces from A &amp; B are resolved.</strong> When I hover my mouse on the class name (class from either A or B), it shows the correct namespace of it too.</p>
  
  <p>I have set <code>Copy Local</code> property to <code>True</code> on both the project references.</p>
  
  <p>However, </p>
  
  <ol>
  <li>When I run the Rebuild All (or Build on project C), build fails because it fails to resolve the namespaces! What can I check further to ensure everything is done correctly?</li>
  <li>I never find the assemblies of A &amp; B copied into the <code>bin\debug</code> folder of the project C. Why does not it copy the reference? (I have seen several questions about this problem but none of the solutions provided to them have worked for me)</li>
  </ol>