AssemblySettingsInfo Class

Summary

Contains options that control how GitVersion updates assembly version attributes and project files.
Namespace
GitVersion
Base Types
  • object
graph BT Type-->Base0["object"] Type["AssemblySettingsInfo"] class Type type-node

Syntax

public class AssemblySettingsInfo

Properties

Name Value Summary
EnsureAssemblyInfo bool
Gets or sets a value indicating whether missing AssemblyInfo.cs files should be created automatically.
Files ISet<string>
Gets or sets the set of specific assembly-info or project file paths to update.
UpdateAssemblyInfo bool
Gets or sets a value indicating whether AssemblyInfo.cs files should be updated with the calculated version.
UpdateProjectFiles bool
Gets or sets a value indicating whether SDK-style project files (.csproj) should be updated with the calculated version.

Extension Methods

Name Value Summary
NotNull<AssemblySettingsInfo>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub