I am desigining a windows form wherein I allow the user to upload a particular assembly file. The assembly file can be present at any location on the user's hard drive. I want to now load this assembly and read the classes present in this assembly.
I am doing this using Reflection, however I am not unable to unload the assembly which is once loaded through reflection. I have tried using AppDomains, but I am unable to load the assembly through AppDomain. Whenever I try to
load my assembly from the appDomain I get a error message "The specified assembly file or one of its dependencies does not exist". I have set the ApplicationBase path of the AppDomain to the location where the assembly file is being uploaded from. However
I am still not able to load the assembly from the AppDomain.
Can anyone please let me know in case I am missing something. Any help on this will be highly appreciated.
View Complete Post