Why is this dependency missing?

  • Thread starter Thread starter jm
  • Start date Start date
J

jm

I added a reference to the COM object SHDOCVW.dll. It of course
created the Interop.shdocvw.dll file. As I understand it this is for
the Runtime Callable Wrapper, so .NET can call on the COM object with
interoperability.

Now, my problem is that it says when I try and load the design of the
..cs file:

" File or assembly name Interop.SHDocVw, or one of its dependencies,
was not found."

However, I can see it in the Debug folder just as soon as I make a
reference to it. I do not understand what it wants. Please help me.
Thank you.
 
Jim,

I remember something like actually 2 interop assemblies are created for
ActiveX controls (unlike non-UI COM objects for which only one assembly is
generated). It is probably the IDE fails to copy the second reference to the
right location... I am sorry for that I am not being very helpful but this
should at least help you start seaching in the right direction.
 
Back
Top