20 pts.
 Why is the namespace not visible in VB code files?
Why does visual basic not display the namespace at the top of each code file like C# files do? I am trying to make a namespace span multiple assemblies in VB, but since the namespaces are not visible i cannot simply go in and change them. The only way I have found to do this is to make the root namespace the same for each assembly (from the project properties window), and then make any sub namespaces from there. Is there an option to see the namespace in a VB code file, or else a different way to share a namespace among assemblies without making all of their root namespaces the same? Thanks, Diggie

Software/Hardware used:
ASKED: February 26, 2008  7:48 PM
UPDATED: March 14, 2008  2:19 AM

Answer Wiki:
No, there is not. I've figured out. But this is just the way it is. The main reason I wanted to figure this out, is because I was using generated DataSets and tableAdapters and wanted them all on a sub namespace. To do this, all you have to do is set the "Custom Tool Name" property of the dataset and that will be the sub namespace. Some people say that you could place your class files within "Folders" in the solution explorer, and each Folder becomes a sub namespace, but that didn't work for me. If someone has the answer to this, please post it. Thanks, Diggie
Last Wiki Answer Submitted:  March 14, 2008  2:19 am  by  Diggie   20 pts.
All Answer Wiki Contributors:  Diggie   20 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _