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.HgVersion.
Summary
Update assembly info file or generate if threre is no such file.
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