aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-05-16 18:22:47 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-05-16 18:22:47 +0300
commitb9ff3e2b899b22090b5d206c1f95189aa7fd7ecb (patch)
tree2e2851d21fbf8304ff2ada7e3089c342547dd95d /Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI
parent62600b93f932aa2751d6f0c00f4699a7eb2d7c7b (diff)
downloadTango-b9ff3e2b899b22090b5d206c1f95189aa7fd7ecb.tar.gz
Tango-b9ff3e2b899b22090b5d206c1f95189aa7fd7ecb.zip
New Settings Library.
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs3
-rw-r--r--Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj4
2 files changed, 6 insertions, 1 deletions
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<CoreSettings>().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 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
+ <ProjectReference Include="..\..\Tango.Core\Tango.Core.csproj">
+ <Project>{a34ee0f0-649d-41c8-8489-b6f1cc6924ee}</Project>
+ <Name>Tango.Core</Name>
+ </ProjectReference>
<ProjectReference Include="..\..\Tango.DAL.Remote\Tango.DAL.Remote.csproj">
<Project>{38197109-8610-4d3f-92b9-16d48df94d7c}</Project>
<Name>Tango.DAL.Remote</Name>