AssemblyResolver

public static class AssemblyResolver
Assembly Resolver for the Rhino App Domain.

Properties

CurrentDomainAssemblyResolve

#Since v7.9
public static ResolveEventHandler CurrentDomainAssemblyResolve { get; }
Standard resolver function used by Rhino in execution context. This is added to the Current AppDomain.AssemblyResolve.

CurrentDomainReflectionOnlyAssemblyResolve

#Since v7.9
public static ResolveEventHandler CurrentDomainReflectionOnlyAssemblyResolve { get; }
Standard resolver function used by Rhino in reflection-only context. This is added to the Current AppDomain.ReflectionOnlyAssemblyResolve.

Methods

AddSearchFile

#Since v5.0
public static void AddSearchFile(string file)
Register another file with the Assembly Resolver. File must be a .NET assembly, so it should probably be a dll, rhp or exe.
file (string)Path of file to include during Assembly Resolver events.

AddSearchFolder

#Since v5.0
public static void AddSearchFolder(string folder)
Register a custom folder with the Assembly Resolver. Folders will be searched recursively, so this could potentially be a very expensive operation. If at all possible, you should consider only registering individual files.
folder (string)Path of folder to include during Assembly Resolver events.