version::get-build

[This is preliminary documentation and subject to change.]

Gets the value of the build component of a given version string.

Usage

version::get-build(version)

Parameters

Name Type Description
version string A string containing the major, minor, build, and revision numbers, where each number is delimited with a period character ('.').

Return Value

The build number, or -1 if the build number is undefined.

Requirements

Assembly: NAnt.Core (0.85.1698.0)