Select the product you need help with
Error message when you add a COM component to convert the type library to a .NET assemblyArticle ID: 316142 - View products that this article applies to. This article was previously published under Q316142 On This PageSYMPTOMS
When you add a Component Object Model (COM) component to your project's references, you may receive an error message similar to the following:
A reference to 'A' could not be added. Converting the type library to a .NET assembly failed. Could not load type A.clsAClass from assembly Interop.A, Version=1.0.0.0.
CAUSE
This behavior occurs if all of the following conditions are true:
RESOLUTION
To resolve this issue, delete the component and the two referenced components from the project's references, reload the project, and then add the COM component again.
MORE INFORMATIONSteps to Reproduce the Problem
PropertiesArticle ID: 316142 - Last Review: February 2, 2006 - Revision: 2.0
|


Back to the top








