Method ResolveReference
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
stringDefault assembly reference.
baseFilePath
stringThe base directory used to probe for assembly.
searchInGAC
boolSpecifies if assembly can be located in GAC.
targetFramework
TargetFrameworkSpecifies 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
stringbaseFilePath
stringsearchInGAC
booltargetFramework
TargetFrameworkassembly
Assembly