/rootnamespace
Specifies a namespace for all type declarations.
/rootnamespace:namespace
Arguments
Term |
Definition |
namespace |
The name of the namespace in which to enclose all type declarations for the current project. |
Remarks
If you use the Visual Studio executable file (Devenv.exe) to compile a project created in the Visual Studio integrated development environment, use /rootnamespace to specify the value of the RootNamespace property. See Devenv Command Line Switches for more information.
Use the common language runtime MSIL Disassembler (Ildasm.exe) to view the namespace names in your output file.
To set /rootnamespace in the Visual Studio integrated development environment |
|
Example
The following code compiles In.vb and encloses all type declarations in the namespace mynamespace.
vbc /rootnamespace:mynamespace in.vb
See Also
Reference
Ildasm.exe (MSIL Disassembler)
Sample Compilation Command Lines (Visual Basic)