how to use loaded DLLS assembly' methods which is referenced to another assembly?

我的未来我决定 提交于 2019-12-08 09:12:22
Tung

Found this somewhat similar question. Handling the resolve event seems to be a last ditch effort. Just try it if you run out of options. Replace with your S:\Source\Yusuf.Karatoprak\plugin. You can also try handling the AppDomain.AssemblyLoad event, to see what was loaded from your binaries.

@programmerist, cheers!

Not very sure if it's possible to link a reference to another DLL to the assembly duriong dynamic load. Not at least that I'm aware of. But generaly,

  • if you're talking about plugins, do not link them together. If not, there is no any reason to have plugin based system.

  • I would try to check the .NET Framework version of your host app, in regard of the plugins it loads. Could be some versioning conflict.

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!