NAnt SDK Documentation - v0.92 |

# FrameworkFunctions.GetRuntimeEngine Method

Gets the runtime engine of the specified framework.

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

#### Parameters

framework
  The framework of which the runtime engine should be returned.

#### Return Value

The full path to the runtime engine of the specified framework, or an empty String if no runtime engine is defined for 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