This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.VersionReader.
Summary
Get the version number from an assembly in SemVer format.
Syntax
public static string GetVersionNumber(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' |