Table of Contents

Method ResolveReference

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

ResolveReference(string, string, bool, TargetFramework?)

Returns assembly reference accordingly to specified parameters.

public string ResolveReference(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

string

Fully qualified name of found assembly.

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

protected virtual string ResolveReference(string reference, string baseFilePath, bool searchInGAC, TargetFramework? targetFramework, out Assembly? assembly)

Parameters

reference string
baseFilePath string
searchInGAC bool
targetFramework TargetFramework
assembly Assembly

Returns

string