Unexpected errors stating everything is ambiguous

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.
 
K

kimiraikkonen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top