# framework::get-clr-version

Gets the Common Language Runtime version of the specified framework.

### Usage

`Version framework::get-clr-version(framework)`

### Parameters

Name | Type | Description
--- | --- | ---
framework | string | The framework of which the Common Language Runtime version should be returned.

### Return Value

The Common Language Runtime version of the specified framework.

### Exceptions

The function will fail in any of the following circumstances:

- framework is not a valid framework identifier.

### Requirements

Assembly: NAnt.Core (0.91.4312.0)

### See Also

framework::get-runtime-framework() | framework::get-target-framework()