VersionReaderAliases Class

Summary

Contains functionality for retrieving version numbers from assemblies
Assembly
Cake.VersionReader.dll
Namespace
Cake.VersionReader
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["VersionReaderAliases"] class Type type-node

Syntax

public static class VersionReaderAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
GetFullVersionNumber(ICakeContext, FilePath) string
Get the version number from an assembly in 4-digit format.
static
GetFullVersionNumberWithContinuesIntegrationNumberAppended(ICakeContext, FilePath, int) string
Get the version number from an assembly in 4-digit format with the current build number appended.
static
GetVersionNumber(ICakeContext, FilePath) string
Get the version number from an assembly in SemVer format.
static
GetVersionNumberWithContinuesIntegrationNumberAppended(ICakeContext, FilePath, int) string
Get the version number with the current build number appended. This is based on the article found here: http://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin