title: ambiguous reference
body: <p>I removed a project in my solution and then later re-added it.
  Since reading it.. I'm getting an <code>ambiguous reference</code> error now which I can't remove.
  viewing the implementation of the class (which is getting the error) I see it references it twice:</p>
  
  <pre><code>&gt; ClassName (myclass.Class)    myclass.Class
  &gt; ClassName (myclass.Class)    myclass.Class, Version=1.0.0.0
  </code></pre>
  
  <p>the namespace is only viewed once, but this problem only exists in 1 partial view.  </p>
  
  <p>EDIT:</p>
  
  <pre><code>&lt;%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl&lt;MyClass.Class.MyViewModel&gt;" %&gt;
  </code></pre>
  
  <p>MyViewModel is giving the ambiguous error, if i view all the available classes it shows duplicates like:</p>
  
  <pre><code>MyClass.Class.MyViewModel
  MyClass.Class.MyViewModel
  MyClass.Class.MyOtherViewModel
  MyClass.Class.MyOtherViewModel
  </code></pre>
  
  <p>but when I open another partial view in the same project, it's fine. It's just the 1 partial that seems to be retaining the duplicate reference.</p>
  
  <p>Any idea how I can resolve this?</p>