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

StackOverflow https://stackoverflow.com/questions/12820430

  •  06-07-2021
  •  | 
  •  

Question

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.

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top