NAnt SDK Documentation - v0.92 |

# AssemblyReferenceBase.ResolveFromFolderList Method

Searches for the given file in all paths in folderList.

[Visual Basic]
Protected Function ResolveFromFolderList( _
ByVal folderList As StringCollection, _
ByVal fileName As String _
) As String
[C#]
protected string ResolveFromFolderList(
StringCollection folderList,
string fileName
);

#### Parameters

folderList
  The folders to search.
fileName
  The file to search for.

#### Return Value

The path of the assembly if fileName was found in folderList; otherwise, a null reference (Nothing in Visual Basic).

#### See Also

AssemblyReferenceBase Class | NAnt.VSNet Namespace