Assembly Resolver Class
Represents a metadata assembly resolver that uses paths to every assembly that may be loaded.
public ref class PathAssemblyResolver : System::Reflection::MetadataAssemblyResolver
public class PathAssemblyResolver : System.Reflection.MetadataAssemblyResolver
type PathAssemblyResolver = class inherit MetadataAssemblyResolver
Public Class PathAssemblyResolver Inherits MetadataAssemblyResolver
The file name is expected to be the same as the assembly's simple name. Multiple assemblies can exist on disk with the same name but in different directories. A single instance of
PathAssemblyResolver can be used with multiple MetadataAssemblyResolver instances.
- If a public key token is specified for the AssemblyName, it must be equal.
- If a public key token is not specified for AssemblyName, assemblies with no public key token are selected over those with a public key token.
- If more than one assembly matches, the assembly with the highest AssemblyName.Version is returned.
- AssemblyName.CultureName is ignored.
Initializes a new instance of the PathAssemblyResolver class.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns an assembly from a given assembly name.
Returns a string that represents the current object.(Inherited from Object)