.NETGURU
I am having a problem with namespace
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngibuyspy' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Dennis West
In my Visual studio Solution I have two Portal Applications and I am having namespace problem i would like to to isolate the two from seeing each others namespace which are the same
Imports ASPNetPortal seems to be the major culprit. How would you go about renaming the Namespace. or how to change ASPNetPortal to be different in each.

http://aspalliance.com/dotnetsolutions/

Dennis West
West Design
MS .NET Developer
www. westontheweb.net
Click here to reveal e-mail address
Reply to this message...
 
    
Brian Bilbro (VIP)
in code-bebehind of each page/user control is where the namespace is =
declared.

In C# you have:

namespace ASPNetPortal
{

}

In VB.Net you have:

Namespace ASPNetPortal

End Namespace 'ASPNetPortal

you need to change *each* one to be something different (note that there =
is a code-behind for the global.asax too).

HTHs,
Brian

----- Original Message -----
From: "Dennis West" <Click here to reveal e-mail address>
To: Click here to reveal e-mail address
Sent: Thu, 8 Aug 2002 00:24:17 -0500
Subject: I am having a problem with namespace
[Original message clipped]

each others namespace which are the same=20
>Imports ASPNetPortal seems to be the major culprit. How would you go =
about renaming the Namespace. or how to change ASPNetPortal to be =
different in each.
[Original message clipped]

Reply to this message...
 
    
Dave VanderWekke
If you wish to change the namespace, you would have to change every
reference to the namespace throughout the code. You can then go to the
properties of the project (not the solution) and change the root
namespace name there.

Best Regards,

Dave VanderWekke
Owner
Graphic Realities
Toll Free: (877) 890-5457
Fax: (973) 828-0275
Email: <mailto:Click here to reveal e-mail address> Click here to reveal e-mail address

-----Original Message-----
From: Dennis West [mailto:Click here to reveal e-mail address]
Sent: Thursday, August 08, 2002 1:24 AM
To: aspngibuyspy
Subject: [aspngibuyspy] I am having a problem with namespace

In my Visual studio Solution I have two Portal Applications and I am
having namespace problem i would like to to isolate the two from seeing
each others namespace which are the same

Imports ASPNetPortal seems to be the major culprit. How would you go
about renaming the Namespace. or how to change ASPNetPortal to be
different in each.

http://aspalliance.com/dotnetsolutions/

Dennis West
West Design
MS .NET Developer
www. westontheweb.net
Click here to reveal e-mail address

| [aspngibuyspy] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngibuyspy.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives
Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification