Unexpected errors stating everything is ambiguous

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

I recently started recieving errors like:

'LeftNavigation' is ambiguous in the namespace 'nathansokalski_com_test'.
(nathansokalski_com_test is the name of my project)

I know what ambiguous means, but I am recieving this error for every class
in my project, and I have made no changes to anything in the project other
than add one class (the project used to compile). But even if I remove the
newly added class I still recieve this error for all the classes (well,
until it gets to the error 'Maximum number of errors has been exceeded.').
Is there something that could have gotten changed in my project settings or
something that could be causing this? Any help would be appreciated. Thanks.
 
I recently started recieving errors like:

'LeftNavigation' is ambiguous in the namespace 'nathansokalski_com_test'.
(nathansokalski_com_test is the name of my project)

I know what ambiguous means, but I am recieving this error for every class
in my project, and I have made no changes to anything in the project other
than add one class (the project used to compile). But even if I remove the
newly added class I still recieve this error for all the classes (well,
until it gets to the error 'Maximum number of errors has been exceeded.')..
Is there something that could have gotten changed in my project settings or
something that could be causing this? Any help would be appreciated. Thanks.

You have posted that to three different newsgroups.

For the question, i sometimes get the same it as 'warning' especially
in C# projects with Office Interop, and as far as i remember it does
not affect the compilation however it can be corrected by resolving
the naming conflicting manually as said here:
http://msdn.microsoft.com/en-us/library/8f0k13d2.aspx

You need to specify full path of the member including correct
namespace.

Eg: Instead of ''Dim foo As New Class'', try to use:
Dim foo As New <namespace>.Class...

HTH,

Onur Guzel

Onur Guzel
 
Back
Top