diff --git a/Sources/GlobalAssemblyInfo.cs b/Sources/GlobalAssemblyInfo.cs
index efaffe2e..7711f098 100644
--- a/Sources/GlobalAssemblyInfo.cs
+++ b/Sources/GlobalAssemblyInfo.cs
@@ -9,5 +9,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
-[assembly: AssemblyVersion("1.4.0.0")]
-[assembly: AssemblyFileVersion("1.4.0.0")]
+[assembly: AssemblyVersion("1.4.1.0")]
+[assembly: AssemblyFileVersion("1.4.1.0")]
diff --git a/Sources/SqlDatabase/Program.cs b/Sources/SqlDatabase/Program.cs
index d8d945de..b7e5c46d 100644
--- a/Sources/SqlDatabase/Program.cs
+++ b/Sources/SqlDatabase/Program.cs
@@ -36,19 +36,23 @@ public static int Main(string[] args)
internal static bool ExecuteCommand(CommandLine cmd)
{
- if (cmd.Command == Command.Upgrade)
- {
- return DoUpgrade(cmd);
- }
-
- if (cmd.Command == Command.Create)
+ try
{
- return DoCreate(cmd);
+ switch (cmd.Command)
+ {
+ case Command.Upgrade:
+ return DoUpgrade(cmd);
+ case Command.Create:
+ return DoCreate(cmd);
+ case Command.Execute:
+ return DoExecute(cmd);
+ }
}
-
- if (cmd.Command == Command.Execute)
+ catch (Exception ex)
{
- return DoExecute(cmd);
+ Logger.Error(ex.Message);
+ Logger.Info(ex.ToString());
+ return false;
}
throw new NotImplementedException();
diff --git a/Sources/SqlDatabase/SqlDatabase.csproj b/Sources/SqlDatabase/SqlDatabase.csproj
index e41112fe..050e9e55 100644
--- a/Sources/SqlDatabase/SqlDatabase.csproj
+++ b/Sources/SqlDatabase/SqlDatabase.csproj
@@ -13,10 +13,18 @@
..\SqlDatabase.snk
+
+
+
+
+
+
+
+
all