Search code examples
c#gacmanagedccw

If a com wrapper around a .net DLL uses one more dependent .net DLLs, should they be placed in GAC?


If a managed DLL uses one or more managed DLLs, and a com wrapper is built around the managed DLL, then should all the dependent managed DLLs be placed in GAC. I am getting an "unable to find assembly..." in a similar scenario.

Thanks in advance.


Solution

  • As it turns out keeping assemblies in GAC is a good in case when those dlls are referenced by the COM wrapper. The .net runtime can easily locate them.