Well one thing you can do is to load the assembly from a particular location and then call:
Assembly a = Assembly.LoadFile(@"C:\AClassLibrary\bin\Debug\AClassLibrary.dll");
I have explained the way to invoke methods from a dynamically loaded assembly here :
http://tarundotnet.wordpress.com/2011/06/30/how-to-dynamically-load-assemblies/[
^]
Do let me know if it doesn't work.
Good luck. :thumbsup:
Update 2:
Ok, so you are not able to find the method to invoke. Well then you can get all the methods like this:
Assembly a = Assembly.LoadFile(@"C:\AClassLibrary\bin\Debug\AClassLibrary.dll");
Type clsType = a.GetType("AClassLibrary.AClass");
MethodInfo[] methods = clsType.GetMethods();
So what now you will get an array of methods. Search in that array what is the exact method that you are looking for.
Hope this helps.