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
+1 -1
View File
@@ -10,7 +10,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath>
<WebStackScaffolding_ControllerDialogWidth>600</WebStackScaffolding_ControllerDialogWidth>
+1 -1
View File
@@ -19,7 +19,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<Controller_SelectedScaffolderID>ApiControllerWithActionsScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Controller</Controller_SelectedScaffolderCategoryPath>
</PropertyGroup>
+1 -1
View File
@@ -8,7 +8,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
</PropertyGroup>
+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)