Gets the SDK directory of the specified framework.
string framework::get-sdk-directory(framework)
Parameters
Name | Type | Description |
---|---|---|
framework | string | The framework of which the SDK directory should be returned. |
Return Value
The SDK directory of the specified framework, or an empty
string
if the SDK of the specified framework is not
installed.
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions
See Also
- NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework
- NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework