Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nerdbank.GitVersioning check
class Program
{
static void Main(string[] args)
{
Console.WriteLine($"{nameof(ThisAssembly.AssemblyConfiguration)}: {ThisAssembly.AssemblyConfiguration}");
Console.WriteLine($"{nameof(ThisAssembly.AssemblyFileVersion)}: {ThisAssembly.AssemblyFileVersion}");
Console.WriteLine($"{nameof(ThisAssembly.AssemblyInformationalVersion)}: {ThisAssembly.AssemblyInformationalVersion}");
Console.WriteLine($"{nameof(ThisAssembly.AssemblyName)}: {ThisAssembly.AssemblyName}");
Console.WriteLine($"{nameof(ThisAssembly.AssemblyTitle)}: {ThisAssembly.AssemblyTitle}");
Console.WriteLine($"{nameof(ThisAssembly.AssemblyVersion)}: {ThisAssembly.AssemblyVersion}");
Console.WriteLine($"{nameof(ThisAssembly.GitCommitId)}: {ThisAssembly.GitCommitId}");
Console.WriteLine($"{nameof(ThisAssembly.RootNamespace)}: {ThisAssembly.RootNamespace}");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.