NAnt SDK Documentation - v0.92 |

# FrameworkFunctions.GetVersion Method ()

Gets the version of the current target framework.

[Visual Basic]
<Function(Name:="get-version")>
Overloads Public Function GetVersion() As Version
[C#]
[Function(Name="get-version")]
public Version GetVersion();

#### Return Value

The version of the current target framework.

#### See Also

FrameworkFunctions Class | NAnt.Core.Functions Namespace | FrameworkFunctions.GetVersion Overload List | GetTargetFramework