VersionReaderAliases.

GetFullVersionNumberWithContinuesIntegrationNumberAppended(ICakeContext, FilePath, int) Method

Summary

Get the version number from an assembly in 4-digit format with the current build number appended.

Syntax

public static string GetFullVersionNumberWithContinuesIntegrationNumberAppended(this ICakeContext context, FilePath file, int buildNumber)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context
file FilePath The binary to read from
buildNumber int The build number as provided by the build server

Return Value

Type Description
string Version number in the format '0.0.0.0-CI00000