diff --git a/Config/Config.csproj b/Config/Config.csproj
index b80913d41..02f999fb6 100644
--- a/Config/Config.csproj
+++ b/Config/Config.csproj
@@ -21,6 +21,7 @@
TRACE;DEBUG;MUNICH
prompt
4
+ false
pdbonly
@@ -37,14 +38,20 @@
..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll
-
+
..\packages\MySql.Data.6.6.5\lib\net20\MySql.Data.dll
-
+
..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll
+
+ ..\packages\System.Data.SQLite.1.0.90.0\lib\net40\System.Data.SQLite.dll
+
+
+ ..\packages\System.Data.SQLite.1.0.90.0\lib\net40\System.Data.SQLite.Linq.dll
+
diff --git a/Config/FluentCommon.cs b/Config/FluentCommon.cs
index 68c756d9c..a9c0419ad 100644
--- a/Config/FluentCommon.cs
+++ b/Config/FluentCommon.cs
@@ -2,6 +2,7 @@
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
using System;
+using System.Windows.Forms;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using NHibernate;
@@ -121,8 +122,10 @@ namespace Config
return cfg.ExposeConfiguration(BuildSchema).BuildSessionFactory();
}
}
- catch (Exception)
+ catch (Exception exc)
{
+ MessageBox.Show(string.Format("Cannot open database.\r\nReason:\r\n{0}", exc.Message),
+ "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return null;
}
}
diff --git a/Config/Properties/AssemblyInfo.cs b/Config/Properties/AssemblyInfo.cs
index b64071481..883d085d6 100644
--- a/Config/Properties/AssemblyInfo.cs
+++ b/Config/Properties/AssemblyInfo.cs
@@ -8,9 +8,9 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Config")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
+[assembly: AssemblyCompany("Sensus")]
[assembly: AssemblyProduct("Config")]
-[assembly: AssemblyCopyright("Copyright © 2015")]
+[assembly: AssemblyCopyright("Copyright © 2013 - 2015 Sensus Slovensko a.s.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -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.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("2.0.158.0")]
+[assembly: AssemblyFileVersion("2.0.158.0")]
diff --git a/TestBenchFramework/TBF.csproj b/TestBenchFramework/TBF.csproj
index 1290c1beb..f9f632a01 100644
--- a/TestBenchFramework/TBF.csproj
+++ b/TestBenchFramework/TBF.csproj
@@ -97,6 +97,10 @@
..\packages\ControlBoard\Munich\ControlComponent3Munich.dll
+
+ False
+ ..\packages\FluentNHibernate.1.3.0.733\lib\FluentNHibernate.dll
+
..\packages\ControlBoard\GaugeIndicator.dll
@@ -110,6 +114,9 @@
True
+
+ ..\packages\MySql.Data.6.6.5\lib\net20\MySql.Data.dll
+
..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll
diff --git a/clean.bat b/clean.bat
new file mode 100644
index 000000000..017db0897
--- /dev/null
+++ b/clean.bat
@@ -0,0 +1,10 @@
+rmdir /s /q Config\bin
+rmdir /s /q Config\obj
+rmdir /s /q Results\bin
+rmdir /s /q Results\obj
+rmdir /s /q ResultsBrowser\bin
+rmdir /s /q ResultsBrowser\obj
+rmdir /s /q TBFSetup\Debug
+rmdir /s /q TBFSetup\Release
+rmdir /s /q TestBenchFramework\bin
+rmdir /s /q TestBenchFramework\obj