Export (0) Print
Expand All

How to: Create and Use Assemblies

An assembly is one or more .exe or .dll files that make up a Visual Studio-based application. Assemblies are created automatically when you compile Visual Basic source files.

NoteNote:

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To create an assembly

  • Compile your application by clicking Build on the Build menu or by building it from the command line using the command-line compiler. For details about building assemblies from the command line, see Building from the Command Line (Visual Basic).

To add a reference to another assembly

To use objects in another assembly

  • Specify the fully qualified name for the object, or use an alias that has been defined for the object using an Imports statement. For details about fully qualified names, see Namespaces in Visual Basic. For details about adding references and using the Imports statement, see References and the Imports Statement.

Community Additions

ADD
Show:
© 2014 Microsoft