AssemblyVersioningScheme Class

Summary

Determines which version components are included in the assembly version (AssemblyVersionAttribute).
Assembly
GitVersion.Core.dll
Namespace
GitVersion.Configuration
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["AssemblyVersioningScheme"] class Type type-node

Syntax

public sealed class AssemblyVersioningScheme : Enum

Fields

Name Constant Value Summary
Major 3
Uses Major.0.0.0 as the assembly version.
static
MajorMinor 2
Uses Major.Minor.0.0 as the assembly version.
static
MajorMinorPatch 1
Uses Major.Minor.Patch.0 as the assembly version.
static
MajorMinorPatchTag 0
Uses Major.Minor.Patch.PreReleaseNumber as the assembly version.
static
None 4
Does not set the assembly version.
static
value__

Extension Methods

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