Move away from .NET settings in service

This commit is contained in:
Cyberboss
2017-11-13 01:19:46 -05:00
parent 680ec3dc62
commit ce075dcdc7
8 changed files with 119 additions and 165 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ namespace TGS.Server
//Which is fucking retarded
//This hooks into the settings provider and forces it to load it anyway
var Config = Properties.Settings.Default;
var Provider = Config.Properties[nameof(Config.SettingsVersion)].Provider; //nameof for sanity
var Provider = Config.Properties["SettingsVersion"].Provider;
var sp = new SettingsProperty(property)
{