title: Reference disappear upon debug/build (C#, VB.NET, VS2010)
body: <p>I am using the <code>MagicLibrary</code> for a few components. I knew it was written in Visual Studio 2003 and recompiled it in Visual C# Express 2010. It compiled just fine and I could see the library in the folder.</p>
  
  <p>I then created a new project in Visual C# Express 2010 and added the components <code>MagicalLocalLibrary.dll</code> to the Toolbox. They appeared fine with no errors. I put in a control from the Toolbox to my form, and it seemed fine. I then debugged (to see if any errors would occur) and I saw that the reference <code>MagicalLibrary</code> disappeared and I got the error:</p>
  
  <pre><code>The type or namespace name 'Crownwood' could not be found (are you missing a using directive or an assembly reference?)
  </code></pre>
  
  <p>The thing is that, the reference shows fine under References in Solution Explorer but I can't import it with <code>using</code> or use it in the code (simply is not listed in InstelliSense either) but if i go into the Object Browser and choose "My Solution" it is not listed. I can click on the Reference in Solution Explorer and just change the Copy Local property to True or False, then it will appear in the Object Browser but whenever I debug my project again it disappear.</p>
  
  <p>Any idea why it does this? Thanks in advance.</p>