VersionReaderAliases.

GetFullVersionNumber(ICakeContext, FilePath) Method

Summary

Get the version number from an assembly in 4-digit format.

Syntax

public static string GetFullVersionNumber(this ICakeContext context, FilePath file)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context
file FilePath The binary to read from

Return Value

Type Description
string Version number in the format '0.0.0.0'