Visual Studio 2008 Explicit Reference Error

Posted by Alan on Stack Overflow See other posts from Stack Overflow or by Alan
Published on 2010-06-06T19:36:02Z Indexed on 2010/06/06 19:42 UTC
Read the original article Hit count: 269

I have a project which references a dll in the same solution (called "Common"). Common has two types of errors with the same names but different namespaces i.e.

Common.Login.UserDeleted Common.Imaging.UserDeleted

When I type UserDeleted visual studio recognizes both of these and asks for which it is ("ambiguous reference"). I right-click UserDeleted and select one of the two above, yet it then says that the type or reference doesn't exist! It doesn't make any sense. Why is this happening? I can't compile my program until I find a solution to this, thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2008