Method ResolveReferenceAssemblyName
ResolveReferenceAssemblyName(string, string, bool, TargetFramework?)
Returns assembly reference name accordingly to specified parameters.
public AssemblyName? ResolveReferenceAssemblyName(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
- AssemblyName
AssemblyName of found assembly.