fix WebConfigSettings

This commit is contained in:
Samuele E. Locatelli
2020-12-14 17:02:44 +01:00
parent e7235bd95b
commit 16064053e0
4 changed files with 54 additions and 20 deletions
+9 -4
View File
@@ -20,12 +20,17 @@ namespace WebConfigSetter
#region Protected Properties
protected static string baseDir { get; set; } = $"{Environment.CurrentDirectory}";
protected static string baseDir { get; set; } = @"c:\Steamware\WebConfigSetter";
#if DEBUG
protected static string baseWebAppDir { get; set; } = @"\\iis02\c$\inetpub\wwwroot\MP\";
protected static string confDir { get; set; } = $"{baseDir}\\CONF";
#else
protected static string baseWebAppDir { get; set; } = @"c:\inetpub\wwwroot\MP\";
protected static string currentSetFile { get; set; } = $"{confDir}\\default.json";
protected static string globalConfFile { get; set; } = $"{confDir}\\settings.json";
#endif
protected static string confDir { get; set; } = $@"{baseDir}\CONF";
protected static string currentSetFile { get; set; } = $@"{confDir}\default.json";
protected static string globalConfFile { get; set; } = $@"{confDir}\settings.json";
/// <summary>
/// modalità scrittura (altrimenti legge e carica conf parsando i files)