aggiornamento WebConfigSetter

This commit is contained in:
Samuele E. Locatelli
2020-12-16 07:31:05 +01:00
parent 49268123bb
commit 63c764e400
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,6 +1,7 @@
using Newtonsoft.Json;
using System;
using System.IO;
using System.Reflection;
using System.Xml;
namespace WebConfigSetter
@@ -20,7 +21,7 @@ namespace WebConfigSetter
#region Protected Properties
protected static string baseDir { get; set; } = @"c:\Steamware\WebConfigSetter";
protected static string baseDir { get; set; } = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);//@"c:\Steamware\WebConfigSetter";
#if DEBUG
protected static string baseWebAppDir { get; set; } = @"\\iis02\c$\inetpub\wwwroot\MP\";
#else
@@ -30,7 +31,6 @@ namespace WebConfigSetter
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)