"The namespace <global namespace > already contains a definition for..."

  • Thread starter Thread starter Harry
  • Start date Start date
H

Harry

Using VS2005 on Vista. I added a file to and existing web solution and
started getting this error:

"The namespace <global namespace > already contains a definition for
namespace.xxx"

I may have added a class that was already in the solution and need to edit
the global namespace. So where is that?

Thanks
Harry
 
Hi Harry,

Use the Find and Replace tool to search for all classes with the same name
as yours and either rename them or just rename yours :)
 
Thanks, Dave, that did it.


Dave Sexton said:
Hi Harry,

Use the Find and Replace tool to search for all classes with the same name
as yours and either rename them or just rename yours :)
 

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

Back
Top