FrameworkInfo.

ResolveAssembly(string) Method

Summary

Resolves the specified assembly to a full path by matching it against the reference assemblies.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
FrameworkInfo

Syntax

public string ResolveAssembly(string fileName)

Remarks

Whether the file name is matched case-sensitively depends on the operating system.

Parameters

Name Type Description
fileName string The file name of the assembly to resolve (without path information).

Return Value

Type Description
string An absolute path to the assembly, or null if the assembly could not be found or no reference assemblies are configured for the current framework.