Writing into VT_PRUEFREIHE_PD added, version 1.5.141.

This commit is contained in:
Milan Hanajik
2015-11-13 00:03:33 +01:00
parent 8cd4f12de3
commit 8a0411bd92
5 changed files with 144 additions and 62 deletions
+7
View File
@@ -25,6 +25,9 @@ namespace TBF
static readonly ILog log = LogManager.GetLogger(typeof(Program));
const string log4netConfigFName = "log4netConfig.xml";
/// Program version string
public static string Version;
/// Local settings
public static LocalSettings LocalSettings;
public const string LocalSettingsFileName = "config.xml";
@@ -87,6 +90,10 @@ namespace TBF
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
/// Program version string
Version ver = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
Version = string.Format("TBF v.{0}.{1}.{2}", ver.Major, ver.Minor, ver.Build);
/// Local program configuration directory including the trailing backslash
string locAppDataDir = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) +
Path.DirectorySeparatorChar + "TestBenchFramework" + Path.DirectorySeparatorChar;