AssemblyResolver

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

Properties

CurrentDomainAssemblyResolve

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

CurrentDomainReflectionOnlyAssemblyResolve

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

Methods

AddSearchFile

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

AddSearchFolder

#Since v5.0
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.
public static void AddSearchFolder(
folder
Path of folder to include during Assembly Resolver events.
)