Summary
Determines the version of the given package.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- PkgConfigFunctions
Syntax
[Function("get-mod-version")]
public string GetModVersion(string package)
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
Name | Type | Description |
---|---|---|
package | string | The package to get the version of. |
Return Value
Type | Description |
---|---|
string | The version of the given package. |