I am currently facing an issue where if i delete a referenced assembly and add the same assembly, but different version, it crashes because it is already loaded in the appdomain (Even in your example project). I tried to isolate the ProjectAssembly in a separate appdomain, i've done over 30 Remoting class with MarshalByRefObject but couldn't make it work.
Is there an easy way to clear the appdomain from loaded dll? What is the best practice in that case?
[Modified 5 years ago]