[This is preliminary documentation and subject to change.]
Imports a type library to a .NET assembly (wraps Microsoft's tlbimp.exe
).
For a list of all members of this type, see TlbImpTask Members.
System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.ExternalProgramBase
NAnt.Win32.Tasks.TlbImpTask
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This task lets you easily create interop assemblies. By default, it will not reimport if the underlying COM TypeLib or reference has not changed.
See the Microsoft.NET Framework SDK documentation for details.
Import LegacyCOM.dll
to DotNetAssembly.dll
.
<tlbimp typelib="LegacyCOM.dll" output="DotNetAssembly.dll" />
Namespace: NAnt.Win32.Tasks
Assembly: NAnt.Win32Tasks (in NAnt.Win32Tasks.dll)
TlbImpTask Members | NAnt.Win32.Tasks Namespace