Type Library Exporter (tlbexp.exe)

Type library exporter and importer are the two tools necessary for COM interop. The exporter generates a type library for a .NET Framework assembly so that other COM components can interop with .NET components. The general syntax for tlbexp.exe is:

tlbexp AssemblyName [options]

The following table shows some of the common usages of tlbexp.exe :

Option

Description

/nologo

This option suppresses the logo of the tlbexp executable.

/out:filename

filename is the name of the type library file.

/silent

This option suppresses all messages from the tlbexp executable.

/verbose

This option displays extra information while converting the component.

/? or /help

This option displays the help information for the tool.

Get .Net Framework Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.