Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width600px

Registering an assembly allows COM clients to create .NET Framework classes. Information about the class is read in by the tool and added to the registry. This then allows COM clients to interact with the .NET class as though it were a native COM class. This process can only occur on assemblies which are installed on the machine. 

Regasm Options

Column
width300px
Panel
borderColor#D8D8D8
bgColor#FFFFFF
titleColor#FFFFFF
borderWidth1
titleBGColor#006396
borderStylesolid
titleOn this page:

Table of Contents
maxLevel3
minLevel2
printablefalse
 

Column


Assembly

Assembly

The assembly file that will be registered with COM.

RegAsm Mode

Register assembly

Performs the registration of the assembly so that COM clients can interact with classes it contains.  

Unregister assembly

Performs the de-registration of the assembly. Once this is performed COM clients will no longer be able to access classes the assembly contains. 

Generate reg file

Performs the registration, however saves the resulting entries into a reg file. This can then be applied at a later date, or to another machine. 

Generate and register type library

Builds a type library reference file. The file will contain all the definitions required for accessing classes and types defined in the assembly. 

Options

Create a codebase entry in the registry

Allows for the registration of strongly-named assemblies through the addition of a codebase entry in the registry. This options means that the assembly does not need to be installed for COM clients to get access to the types or classes the assembly contains. The assembly has to be strongly-named however. 

Suppress the Microsoft startup banner

Stops the REGASM banner appearing in the build log.

Only refer to already registered type libraries

Limits the tool to using only already registered type libraries. 

Suppress success messages

Stops the REGASM success message from appearing in the build log. 

Verbose output

With this option turned on, REGASM will report as much information as possible. Very useful for debugging issues while building scripts. Its recommend this be turned off when running scripts normally.

Excerpt Include
_Inc_.NetFramework
_Inc_.NetFramework
nopaneltrue