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.

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top