Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Assembly Registration tool reads the metadata within an assembly and adds the necessary entries to the registry, which Registering an assembly allows COM clients to create .NET Framework classes transparently. Once a class is registered, any COM client can use it as though the class were a COM class. The class is registered only once, when the assembly is installed. Instances of classes within the assembly cannot be created from COM until they are actually registered.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. 

User interface

Regasm options

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

 

Suppress the Microsoft startup banner

 

Only refer to already registered type libraries

 

Suppress success messages

 

Verbose output

 

Framework version

Use default Framework version (vX.X) / Use vX.X

...