Gets the Common Language Runtime version of the specified framework.
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.
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions
See Also
- NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework
- NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework