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




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com