From 93212c55796c12a5b288a5a6f0d8d0b8fe0122af Mon Sep 17 00:00:00 2001 From: James Botting Date: Sun, 16 Aug 2015 22:25:59 +0100 Subject: [PATCH] Add Build to version display. --- ARKUpdater/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ARKUpdater/Program.cs b/ARKUpdater/Program.cs index 9ecfd4e..c38af69 100644 --- a/ARKUpdater/Program.cs +++ b/ARKUpdater/Program.cs @@ -64,9 +64,10 @@ public static string GetApplicationVersion() { System.Reflection.Assembly execAssembly = System.Reflection.Assembly.GetCallingAssembly(); System.Reflection.AssemblyName name = execAssembly.GetName(); - return string.Format("{0:0}.{1:0} (.NET {2})", + return string.Format("{0:0}.{1:0}.{2:0} (.NET {3})", name.Version.Major.ToString(), name.Version.Minor.ToString(), + name.Version.Build.ToString(), execAssembly.ImageRuntimeVersion ); }