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