467,207 Members | 1,340 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,207 developers. It's quick & easy.

VS 2005 VB.Net Namespace in Multiple files

I'm working on a large asp.net maintenance application that has
numerous utilities. There can be multiple files associated with a
particular utility.

The Namespace standard is CompanyName.AppName.UtilityName

The root namespace is CompanyName.AppName

I'd like to group multiples files under a common namespace - contants,
classes, aspx pages.
The problem is if I use the same name space, then classes outside of
the current class cannot be seen.

Example:
MyUtil.aspx
-----------------
Namespace MyUtil

class MyUtilWork
{class definition stuff}

MyUtilConstants.vb
-----------------
Namespace MyUtil

class MyUtilConstants
{class definition stuff}

The problem is that if I'm inside of MyUtilWork, I'm not able to see
MyUtilConstants. Is this from Namespace clashing?

Thanks in advance,
Gabe

Nov 1 '06 #1
  • viewed: 757
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by farmer | last post: by
3 posts views Thread by JFB | last post: by
10 posts views Thread by kimiraikkonen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.