NAnt SDK Documentation - v0.92

FrameworkFunctions.Exists Method 

Checks whether the specified framework exists, and is valid.

[Visual Basic]
<Function(Name:="exists")>
Public Function Exists( _
   ByVal framework As String _
) As Boolean
[C#]
[Function(Name="exists")]
public bool Exists(
   string framework
);

Parameters

framework
The framework to test.

Return Value

true if the specified framework exists ; otherwise, false.

See Also

FrameworkFunctions Class | NAnt.Core.Functions Namespace