Aliases.

UpdateAssemblyInfo(ICakeContext, VersionVariables, DirectoryPath, string) Method

Summary

Update assembly info file or generate if threre is no such file.
Assembly
Cake.HgVersion.dll
Namespace
Cake.HgVersion
Containing Type
Aliases

Syntax

public static void UpdateAssemblyInfo(this ICakeContext context, VersionVariables variables, DirectoryPath workingDirectory, string assemblyInfoFile = "SolutionInfo.cs")

Examples

UpdateAssemblyInfo(version, "./", "AssemblyInfo.cs");

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Cake context
variables VersionVariables Version information variables
workingDirectory DirectoryPath Directory where assembly info file is located
assemblyInfoFile string Name of file with assemly information

Return Value

Type Description
void