diff --git a/Vrh.Log4Pro.MaintenanceConsole/ConsoleFunction - Menu.cs b/Vrh.Log4Pro.MaintenanceConsole/ConsoleFunction - Menu.cs index 1f2061b..d71561b 100644 --- a/Vrh.Log4Pro.MaintenanceConsole/ConsoleFunction - Menu.cs +++ b/Vrh.Log4Pro.MaintenanceConsole/ConsoleFunction - Menu.cs @@ -175,10 +175,11 @@ namespace Vrh.Log4Pro.MaintenanceConsole.MenuNS { if (Menu.IsCommandMode()) { return; } string version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); + string exelocation = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location); ColorConsole.Clear(); ColorConsole.WriteLine(Title, ConsoleColor.White); ColorConsole.WriteLine(new string('-', Title.Length)); - ColorConsole.WriteLine($"Program version: v{version}", ConsoleColor.White); + ColorConsole.WriteLine($"Program version v{version} is running from {exelocation}", ConsoleColor.White); } private static int SetMenuItemHeaderWidth(List MenuItemList,int columns) diff --git a/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs b/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs index d153685..14e5da9 100644 --- a/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs +++ b/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.5.1.0")] -[assembly: AssemblyFileVersion("1.5.1.0")] +[assembly: AssemblyVersion("1.6.0.0")] +[assembly: AssemblyFileVersion("1.6.0.0")] -- libgit2 0.21.2