NAnt SDK Documentation - v0.92

FrameworkFunctions.SdkExists Method 

Checks whether the SDK for the specified framework is installed.

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

Parameters

framework
The framework to test.

Return Value

true if the SDK for specified framework is installed; otherwise, false.

See Also

FrameworkFunctions Class | NAnt.Core.Functions Namespace | GetRuntimeFramework | GetTargetFramework