Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Error message when you add a COM component to convert the type library to a .NET assembly
Article ID: 316142 - View products that this article applies to.
This article was previously published under Q316142
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=126.96.36.199.
This behavior occurs if all of the following conditions are true:
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.
Steps to Reproduce the Problem