Table of Contents

Class AssemblyReferenceResolver

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Provides methods for resolving assembly references.

public class AssemblyReferenceResolver
Inheritance
AssemblyReferenceResolver
Derived

Constructors

AssemblyReferenceResolver(IEnumerable<string>, string, string)

Initializes a new instance of the AssemblyReferenceResolver class with specified parameters.

Properties

BaseDirectory

Gets the base directory that the assembly resolver uses to look for assemblies.

FrameworkPath

Gets location of .NET Framework assemblies.

SearchPaths

Gets list of search directories to look for source files and referenced assemblies.

Methods

GetAssemblyReference(string)
GetLoadedAssembly(string)
GetPathToDotNetFrameworkReferenceAssemblies(TargetNETFrameworkVersion)

Returns path to the .NET Framework clr.

IsDotNetCoreAssembly(string)

Indicates whether the given assembly belongs to the .Net Core shared assemblies collection.

IsFrameworkAssembly(string)

Indicates whether the given assembly belongs to the .Net Framework shared assemblies collection.

ResolveAssemblyName(string, IDefaultAssembliesProvider, bool)

Try to find real assembly name matches the given name.

ResolveDotNetFxAssemblyFromDotNetCore(string)
ResolveReference(string, string, bool, TargetFramework?)

Returns assembly reference accordingly to specified parameters.

ResolveReference(string, string, bool, TargetFramework?, out Assembly?)
ResolveReferenceAssemblyName(string, string, bool, TargetFramework?)

Returns assembly reference name accordingly to specified parameters.

TryResolveReferenceAssemblyName(string, string, bool, TargetFramework?)

Returns assembly reference name accordingly to specified parameters.