473,503 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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
2 37296
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
3292
by: Dr Duck | last post by:
GDay all, Something seems odd to me.... I wrote a simple C# function public void bind(ref object a, ref object b, bool atob) { if(atob) b = a; else
6
13578
by: TS | last post by:
Hi, i have a problem validating xml against schema. I used http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx validator and it says it is fine. Can you tell me why this doesn't work? ...
6
1669
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Why doesn't the global variable "divId" always refer to the element with id="divId"?...
0
1104
by: shark | last post by:
Hi How are characters like '<', '>' handled in DataColumn/DataTable names. I mean serializing such object into XML. "Column>1" is coded to <Column_x003E_1>. How? I need back original name ...
0
1558
by: UT-BadBoy | last post by:
Hi, I've been working with ASP.NET for about a year so I'm still considering myself to be somewhat of a novice in this field. I am receiving this particualr error when trying to hit a...
2
3672
by: gbin,Zhou | last post by:
Hi,all. I see from "http://docs.python.org/tut/node11.html" that "Name spaces are created at different moments and have different lifetimes. The namespace containing the built-in names is created...
4
1407
by: Ed | last post by:
Hi, guys, Here is a simple template class definition: template <typename T = int> class Point { public: T X; T Y; T Z; };
0
7089
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1515
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.