aggiornamento WebConfigSetter
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user