Resolves the specified assembly to a full path by matching it against the reference assemblies.
An absolute path to the assembly, or a null reference (Nothing in Visual Basic) if the assembly could not be found or no reference assemblies are configured for the current framework.
Whether the file name is matched case-sensitively depends on the operating system.
FrameworkInfo Class | NAnt.Core Namespace