BUG: TlbImp Silently Produces an Unloadable Assembly Without Warning (327128)
The information in this article applies to:
- Microsoft Windows .NET Framework 1.1
- Microsoft .NET Framework 1.0
This article was previously published under Q327128 SYMPTOMS The Type Library Importer (TlbImp.exe) may import an
unloadable assembly without any warning messages. This causes a
TypeLoadException exception when you try to run programs (such as PEVerify) on
the generated assembly. CAUSE This problem occurs when conflicts exist between the name
of the imported type library and the names of the type libraries that it
references. RESOLUTION To resolve this problem, manually create the Component
Object Model (COM) Interop assemblies for each type library that is referenced.
Use the /references command to reference these assemblies when you import the
destination type library by using the TlbImp tool. STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
REFERENCESFor additional information about generating a COM
Interop assembly, click the article number below to view the article in the
Microsoft Knowledge Base: 317157 PRB: Errors When You Reference the Access 10.0 Type Library with Visual Studio .NET
For more information about the .NET Framework
tools, visit the following MSDN Web site:
Modification Type: | Minor | Last Reviewed: | 5/28/2003 |
---|
Keywords: | kbbug kbpending KB327128 |
---|
|