Summary
Gets the version of the specified framework.
Syntax
[Function("get-version")]
public Version GetVersion(string framework)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
framework |
string |
The framework of which the version should be returned. |
Return Value
Type |
Description |
Version |
The version of the specified framework.
|
See Also
- NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework
- NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework