c# - ambiguous reference -


I removed a project in my solution and later added it again. Since reading this .. I am getting a ambiguous reference error which I can not remove. Looking at the implementation of the class (which is receiving the error) I see that it references two times:

  & gt; Classname (myclass.class) myclass.class & gt; The classname (myclass.class) myclass.Class, version = 1.0.0.0   

The namespace is only viewed once, but this problem exists only in 1 partial view.

Edit:

  & lt;% @ control language = "C #" Inheritance = "System web.mvc.vuyusar control" lt; MyClass.Class.MyViewModel & gt; "MyViewModel is giving a fuzzy error, if I look at all the available squares as if it looks like a duplicate:  
  MyClass.Class MyViewModel MyClass.Class.MyViewModel MyClass.Class.MyOtherViewModel MyClass.Class.MyOtherViewModel   

But when I open another partial view in the same project, then it's OK. 1 partial that retains duplicate references.

Any ideas how can I solve it?

Did you solve Have you tried right-clicking and clean solution ?

Comments