Link to home
Start Free TrialLog in
Avatar of dkim18
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.
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dkim18
dkim18

ASKER

It seems that with c# project, it automatically added the namespace in the code.
But in vb.net, it doesn't seem that way. Is that right?
VB.NET applies the root namespace to each file and class automatically

http://www.fmsinc.com/free/NewTips/net/nettip40.asp
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dkim18

ASKER

CodeCruiser,

Thanks for that link.
That's what I was confusing about.


So in VB.net, I should not explicitly put namespace.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial