FileNotFound when load assembly with dependency to another domain

后端 未结 2 1463
陌清茗
陌清茗 2021-02-07 18:47

I\'m trying to make application with plugins.

I have MainLib.dll, where I made some commnon interface(let it be ICommon) with 1 method. Then, I made 2 .dlls

2条回答
  •  攒了一身酷
    2021-02-07 19:27

    you don't specify how you're setting up your search paths for your AppDomains so that it can find the DLLs in the Plugins directory, however your problem sounds like it might be very similar to this one I answered yesterday:

    AppDomain.Load() fails with FileNotFoundException

    Perhaps this also will resolve your issue? Let me know how you get on.

提交回复
热议问题