Udostępnij za pośrednictwem


Distributing Primary Interop Assemblies to Developers

Primary interop assemblies must be distributed to well-known location points and described well enough for developers to find and use them. If you plan to use a public forum for distribution, use the more descriptive naming convention (VendorName.LibraryName) to help developers locate assemblies.

You can distribute a primary interop assembly as a single assembly (that is, a file). If your primary interop assembly references one or more dependent primary interop assemblies, be sure to distribute the dependent assemblies or direct the developer to the location where the dependent assemblies can be acquired. The Type Library Importer (Tlbimp.exe) does not provide a way to combine multiple assemblies within a single primary interop assembly.

As a convenience to developers, you can create a setup program that installs and registers one or more primary interop assemblies. For details on the registration process, see How to: Register Primary Interop Assemblies.

See Also

Concepts

Producing Primary Interop Assemblies

Naming Primary Interop Assemblies

Generating Primary Interop Assemblies

Customizing Primary Interop Assemblies