I Am working on a task in which i have to load dll and get some information from it like class names and etc... but when i load that dll into my code, it gets locked and can't be build from source code until i close loading program, I have tried certain solution but none of them works for me
Shadowcopy: in this case when i shadow copy assembly then after that if i have changed something in
my main dll it will be still old one in my loading application.System.Reflection.assembly.loadfrom(System.IO.GetBytes("asm-path")); //work sometimes but not always
System.Reflection.assembly.ReflectionOnlyConext(); //Does not work
Is there any proper solution to this