From b9ff3e2b899b22090b5d206c1f95189aa7fd7ecb Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 16 May 2018 18:22:47 +0300 Subject: New Settings Library. --- Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs | 3 ++- .../Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI') diff --git a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs index 242cdcfa9..9c39eeac6 100644 --- a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs +++ b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs @@ -4,6 +4,7 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; +using Tango.Core; using Tango.DAL.Remote.DB; using Tango.Settings; using Tango.Synchronization; @@ -21,7 +22,7 @@ namespace Tango.SQLiteGenerator.CLI bool completed = false; - String connectionString = SettingsManager.Default.DataBase.SQLServerAddress; + String connectionString = SettingsManager.Default.GetOrCreate().SQLServerAddress; Console.WriteLine("Connecting to " + connectionString + "..."); diff --git a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj index 46b458c90..e19a15436 100644 --- a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj +++ b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj @@ -57,6 +57,10 @@ + + {a34ee0f0-649d-41c8-8489-b6f1cc6924ee} + Tango.Core + {38197109-8610-4d3f-92b9-16d48df94d7c} Tango.DAL.Remote -- cgit v1.3.1