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
referencestringDefault assembly reference.
baseFilePathstringThe base directory used to probe for assembly.
searchInGACboolSpecifies if assembly can be located in GAC.
targetFrameworkTargetFrameworkSpecifies 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
referencestringbaseFilePathstringsearchInGACbooltargetFrameworkTargetFrameworkassemblyAssembly