dkim18
asked on
name space in vb.net using visual studio?
Hi,
I have both vs2008 and vs2010.
I have an application called Maxx with several projects named as
GUI, DAL, ConfigManager
I would like to have name spaces like this.
Maxx.GUI, MaxxDAL, Maxx.ConfigManager.
With C#, I do this in the properties of the VS projects.
I change the Assembly name and Default namespace.
It seems that it is a little different in VB.net.
Can you help?
I would like to have a solution name, Maxx with several VB project named:
Maxx.GUI, MaxxDAL, Maxx.ConfigManager.
Also when I create a .vb page in each of those projects, I want the VS to add the namespace.
I have both vs2008 and vs2010.
I have an application called Maxx with several projects named as
GUI, DAL, ConfigManager
I would like to have name spaces like this.
Maxx.GUI, MaxxDAL, Maxx.ConfigManager.
With C#, I do this in the properties of the VS projects.
I change the Assembly name and Default namespace.
It seems that it is a little different in VB.net.
Can you help?
I would like to have a solution name, Maxx with several VB project named:
Maxx.GUI, MaxxDAL, Maxx.ConfigManager.
Also when I create a .vb page in each of those projects, I want the VS to add the namespace.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
VB.NET applies the root namespace to each file and class automatically
http://www.fmsinc.com/free/NewTips/net/nettip40.asp
http://www.fmsinc.com/free/NewTips/net/nettip40.asp
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
CodeCruiser,
Thanks for that link.
That's what I was confusing about.
So in VB.net, I should not explicitly put namespace.
Thanks for that link.
That's what I was confusing about.
So in VB.net, I should not explicitly put namespace.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
But in vb.net, it doesn't seem that way. Is that right?