S
Stelios
Does anyone know how to dynamically load an assembly from a location other
that the working directory by using Assembly load method.
It is important to use the specific method because is the method used by CLR
to enforce version and security checking.
I have try by changing the appdomain APPBASE property but is not working and
i am wondering weather I am doing something wrong.
The code I use is the following
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.SetupInformation.ApplicationBase = "Location of hte assembly
to be loaded";
currentDomain.Load("AssemblyName;");
Thanks in advance
that the working directory by using Assembly load method.
It is important to use the specific method because is the method used by CLR
to enforce version and security checking.
I have try by changing the appdomain APPBASE property but is not working and
i am wondering weather I am doing something wrong.
The code I use is the following
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.SetupInformation.ApplicationBase = "Location of hte assembly
to be loaded";
currentDomain.Load("AssemblyName;");
Thanks in advance