Summary
Creates an assembly information file.
Syntax
[CakeMethodAlias]
public static void CreateAssemblyInfo(this ICakeContext context, FilePath outputPath, AssemblyInfoSettings settings)
Examples
var file = "./SolutionInfo.cs";
var version = "0.0.1";
var buildNo = "123";
var semVersion = string.Concat(version + "-" + buildNo);
CreateAssemblyInfo(file, new AssemblyInfoSettings {
Product = "SampleProject",
Version = version,
FileVersion = version,
InformationalVersion = semVersion,
Copyright = string.Format("Copyright (c) Contoso 2014 - {0}", DateTime.Now.Year)
});
Attributes
Parameters
Return Value