title: Visual Studio 2012 Randomly reporting: "The referenced component X could not be found"
body: <p>I recently migrated and re-tartgeted a solution from VS 2010 and .NET 4.0 to VS 2012 and .NET 4.5. However now all of a sudden and randomly VS 2012 reports almost all cross-project references as:</p>
  
  <pre><code>"The referenced component X could not be found" (warning)
  </code></pre>
  
  <p>Now, I know for a fact that this is not correct. Firstly because I can see the assembly in the directory set for the assembly reference and secondly because when I bring up the "Add Reference" dialog the warning suddenly goes away and so do the yellow warning icons on the assembly reference</p>
  
  <p>Doing a full rebuild clears the warning and then it will stay that way for a while and then randomly the same warnings show again.</p>
  
  <p>Has anyone seen this? What can be the cause and how can I fix it?</p>
  
  <p>Edit: I was not seeing this weird behaviour in VS 2010</p>
  
  <p>Edit: The warnings are reported for references to other projects in the same solution.</p>