467,076 Members | 939 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,076 developers. It's quick & easy.

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

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

Dec 7 '06 #1
  • viewed: 36948
Share:
2 Replies
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 :)

--
Dave Sexton

"Harry" <ha******@gmail.comwrote in message
news:A1**********************************@microsof t.com...
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

Dec 7 '06 #2
Thanks, Dave, that did it.
"Dave Sexton" <dave@jwa[remove.this]online.comwrote in message
news:ux**************@TK2MSFTNGP03.phx.gbl...
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 :)

--
Dave Sexton

"Harry" <ha******@gmail.comwrote in message
news:A1**********************************@microsof t.com...
>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

Dec 8 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by shark | last post: by
reply views Thread by UT-BadBoy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.