FORCE LOAD OF SCRIPT ASSEMBLIES

Hi!
if i'm using namespaces in my scripts that have not been called before scriptRun.Compile, the compiler throws an exception for unreferenced assemblies.
if i add AppDomain.CurrentDomain.Load("myAssembly");
before the compile methode, it works.
should't the scriptRun self load all the referenced assemblies that were added by scriptRun.ScriptSource.References.Add(...) ?
regards,
ferdinand
Hi,
Scripter needs either fully qualified file path as assembly reference (including extension), or just assembly name in case assembly is already loaded into the application domain.

Hope it helps,
Dmitry
Thanks Dimitry. this helps!