Are there reference implementations of hot-swapping in .NET?
问题 I'm looking for a good implementation of hot-swapping done in .NET. The things I need are: Being able to deploy DLLs in a particular folder and have a running system pick them up. Having the running system update corresponding references in the container. I've been looking into MEF and its directory loading mechanism, but it seems very unreliable. Maybe someone out there has an alternative implementation? 回答1: You can provide a custom event handler for AssemblyResolve by calling newAppDomain(