Created
April 30, 2019 12:11
-
-
Save guitarrapc/d2ae350f5bba17fd277b3713a3ca09fd to your computer and use it in GitHub Desktop.
Nerdbank.GitVersioning check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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