MEF and ShadowCopying DLLs so that I can overwrite them at runtime
问题 I am trying to stop my application locking DLLs in my MEF plugin directory so that I can overwrite the assemblies at runtime (note I'm not actually trying to have MEF reload them on the fly, at the next app start is fine, i just dont want to have to stop the app to do the copy) I am trying to do this by creating a shadow copied app domain for my mef loaded assemblies as below: [Serializable] public class Composer:IComposer { private readonly string _pluginPath; public Composer