By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,046 Members | 2,105 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,046 IT Pros & Developers. It's quick & easy.

HELP - COM Interop registration failed - could not find a type lib

P: n/a
I have created a library that exposes classes to COM clients using the
attribute [ComVisible(true)].

My library references 2 other libraries, lib1 and lib2, both of which are
created by other developers on my team. These libraries do not
(intentionally) expose any members to COM. Both projects set Register For
COM Interop to false.

When I try to build my library the build fails with the message

"COM Interop registration failed. Could not find a type library assembly
for 'Lib1' ".

The error does not say anything about Lib2. It is not my intention to
expose any of Lib1 or Lib2 members through my library.

How do i tell the compiler that i don't want to expose anything from the
referenced libs and to just go ahead and build my library? I understand that
there is a way to set an assembly to [ComVisible(false)] but I don't find any
documentation about how to do this.


Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.