Usage

There are four different ways to consume GitVersion itself. You can find each of these options below.

Continuous Integration GitVersion can be used in a Continuous Server pipeline to generate a version number that both labels the build itself and makes the different version variables available to the rest of the build pipeline.
Command Line The Command Line gives most flexibility by allowing the execution of GitVersion to be customized
MSBuild Task Just install with NuGet and GitVersion will automatically generate assembly version information that is compiled into the resulting artifact.
Library Install with NuGet and use GitVersion as a software library. Although this is an unsupported option and the API may break even between minor or patch releases, it's a useful option to some.
Docker Use GitVersion through one of its many published Docker containers.
GitHub