FrameworkFunctions.

SdkExists(string) Method

Summary

Checks whether the SDK for the specified framework is installed.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
FrameworkFunctions

Syntax

[Function("sdk-exists")]
public bool SdkExists(string framework)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
framework string The framework to test.

Return Value

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

See Also

  • NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework
  • NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework