TypeLibNames Item Metadata
The following table describes the item metadata available for items passed to the TypeLibNames parameter.
Metadata
|
Description
|
|---|
GUID
|
Required item metadata.
The GUID for the type library. If this item metadata is not specified , the task fails.
|
VersionMajor
|
Required item metadata.
The major version of the type library. If this item metadata is not specified , the task fails.
|
VersionMinor
|
Required item metadata.
The minor version of the type library. If this item metadata is not specified, the task fails.
|
LocaleIdentifier
|
Optional item metadata.
The Locale Identifier (or LCID) for the type library. This is specified as a 32-bit value that identifies the human language preferred by a user, region, or application. If this item metadata is not specified, the task uses a default locale identifier of "0".
|
WrapperTool
|
Optional item metadata.
Specifies the wrapper tool that is used to generate the assembly wrapper for this type library. If this item metadata is not specified, the task uses a default wrapper tool of "tlbimp". The available, case insensitive choices of typelibs are:
Primary: Use this wrapper tool when you want to use an already generated primary interop assembly for the COM component. When you use this wrapper tool, do not specify a wrapper output directory because that will cause the task to fail.
TLBImp: Use this wrapper tool when you want to generate an interop assembly for the COM component.
AXImp:Use this wrapper tool when you want to generate an interop assembly for an ActiveX component.
|
TypeLibFiles Item Metadata
The following table describes the item metadata available for items passed to the TypeLibFiles parameter.
Metadata
|
Description
|
|---|
WrapperTool
|
Optional item metadata.
Specifies the wrapper tool that is used to generate the assembly wrapper for this type library. If this item metadata is not specified, the task uses a default wrapper tool of "tlbimp". The available, case insensitive choices of typelibs are:
Primary: Use this wrapper tool when you want to use an already generated primary interop assembly for the COM component. When you use this wrapper tool, do not specify a wrapper output directory because that will cause the task to fail.
TLBImp: Use this wrapper tool when you want to generate an interop assembly for the COM component.
AXImp: Use this wrapper tool when you want to generate an interop assembly for an ActiveX component.
|
Note: |
|---|
The more information that you provide to uniquely identify a type library, the greater the possibility that the task will resolve to the correct file on disk.
|