Summary
Gets the SDK directory of the specified framework.
Syntax
[Function("get-sdk-directory")]
public string GetSdkDirectory(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 of which the SDK directory should be returned. |
Return Value
Type |
Description |
string |
The SDK directory of the specified framework, or an empty
string if the SDK of the specified framework is not
installed.
|
See Also
- NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework
- NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework