FrameworkFunctions.

GetRuntimeEngine(string) Method

Summary

Gets the runtime engine of the specified framework.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
FrameworkFunctions

Syntax

[Function("get-runtime-engine")]
public string GetRuntimeEngine(string framework)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
framework string The framework of which the runtime engine should be returned.

Return Value

Type Description
string 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.

See Also

  • NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework
  • NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework