NAnt SDK Documentation - v0.92 |
|
FrameworkFunctions.GetSdkDirectory Method
Gets the SDK directory of the specified framework.
[Visual Basic]
<Function(Name:="get-sdk-directory")>
Public Function GetSdkDirectory( _
ByVal
framework As
String _
) As
String
[C#]
[Function(Name="get-sdk-directory")]
public
string GetSdkDirectory(
string framework);
Parameters
-
framework
- 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.
Exceptions
Exception Type |
Condition |
ArgumentException
|
framework is not a valid framework identifier. |
See Also
FrameworkFunctions Class | NAnt.Core.Functions Namespace | GetRuntimeFramework | GetTargetFramework