NAnt SDK Documentation - v0.92 |

# FrameworkInfo.ResolveAssembly Method

Resolves the specified assembly to a full path by matching it against the reference assemblies.

[Visual Basic]
Public Function ResolveAssembly( _
ByVal fileName As String _
) As String
[C#]
public string ResolveAssembly(
string fileName
);

#### Parameters

fileName
  The file name of the assembly to resolve (without path information).

#### Return Value

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.

#### Remarks

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

#### See Also

FrameworkInfo Class | NAnt.Core Namespace