I know that you can register the AppDomain.AssemblyResolve event to handle an attempt to load the assembly when the CLR auto search failed.
In my current project, it would be useful to handle the entire assembly load through such a mechanism; is there any way to do this?
A workaround (ugly) would be to move the executable to a separate directory and allow everything to be processed by the AssemblyResolve delegate; Hope there is a cleaner solution there.
Regards, Andrea
source share