framework::get-clr-version

[This is preliminary documentation and subject to change.]

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:

Requirements

Assembly: NAnt.Core (0.91.3881.0)

See Also

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