NAnt SDK Documentation - v0.92

FrameworkInfo.SdkDirectory Property

Gets the directory containing the SDK tools for the framework.

[Visual Basic]
Public ReadOnly Property SdkDirectory As DirectoryInfo
[C#]
public System.IO.DirectoryInfo SdkDirectory {get;}

Property Value

The directory containing the SDK tools for the framework or a null reference if the configured sdk directory does not exist, or is not valid.

Exceptions

Exception Type Condition
ArgumentException The framework is not valid.

See Also

FrameworkInfo Class | NAnt.Core Namespace