How to reload an assembly for a .NET Application Domain?

后端 未结 4 1348
鱼传尺愫
鱼传尺愫 2020-12-10 16:53

We are loading an assembly (a DLL) which reads a configuration file. We need to change the configuration file and then re-load the assembly. We see that after loading the a

4条回答
  •  一个人的身影
    2020-12-10 17:43

    Please see the following 2 links for an answer:

    • Dynamic Plugins by Jon Shemitz
    • Using AppDomain to load and unload dynamic assemblies by Steve Holstad

提交回复
热议问题