NAnt SDK Documentation - v0.92 |

# FrameworkFunctions.GetClrVersion Method ()

Gets the Common Language Runtime version of the current target framework.

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

#### Return Value

The Common Language Runtime version of the current target framework.

#### See Also

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