Gets the version of the specified framework.
Version framework::get-version(framework)
Parameters
Name | Type | Description |
---|---|---|
framework | string | The framework of which the version should be returned. |
Return Value
The 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