NAnt SDK Documentation - v0.92

FrameworkFunctions.GetAssemblyDirectory Method 

Gets the assembly directory of the specified framework.

[Visual Basic]
<Function(Name:="get-assembly-directory")>
Public Function GetAssemblyDirectory( _
   ByVal framework As String _
) As String
[C#]
[Function(Name="get-assembly-directory")]
public string GetAssemblyDirectory(
   string framework
);

Parameters

framework
The framework of which the assembly directory should be returned.

Return Value

The assembly 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