Table of Contents

Method TryResolveReferenceAssemblyName

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

TryResolveReferenceAssemblyName(string, string, bool, TargetFramework?)

Returns assembly reference name accordingly to specified parameters.

public AssemblyName TryResolveReferenceAssemblyName(string reference, string baseFilePath, bool searchInGAC, TargetFramework? targetFramework = null)

Parameters

reference string

Default assembly reference.

baseFilePath string

The base directory used to probe for assembly.

searchInGAC bool

Specifies if assembly can be located in GAC.

targetFramework TargetFramework

Specifies Target framework.

Returns

AssemblyName

AssemblyName of found assembly.