FrameworkFunctions.

GetVersion() Method

Summary

Gets the version of the current target framework.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
FrameworkFunctions

Syntax

[Function("get-version")]
public Version GetVersion()

Attributes

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

Return Value

Type Description
Version The version of the current target framework.

See Also

  • NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework