Reacting to ASPNET_ => ASPNETCORE_ rename
This commit is contained in:
parent
54bc8022af
commit
a3f8648710
|
|
@ -70,7 +70,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools
|
||||||
|
|
||||||
private static void AddApplicationBase(XElement aspNetCoreElement)
|
private static void AddApplicationBase(XElement aspNetCoreElement)
|
||||||
{
|
{
|
||||||
const string appBaseKeyName = "ASPNET_APPLICATIONBASE";
|
const string appBaseKeyName = "ASPNETCORE_APPLICATIONBASE";
|
||||||
|
|
||||||
var envVariables = GetOrCreateChild(aspNetCoreElement, "environmentVariables");
|
var envVariables = GetOrCreateChild(aspNetCoreElement, "environmentVariables");
|
||||||
var appBaseElement = envVariables.Elements("environmentVariable").SingleOrDefault(e =>
|
var appBaseElement = envVariables.Elements("environmentVariable").SingleOrDefault(e =>
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ namespace Microsoft.AspNetCore.Tools.PublishIIS
|
||||||
|
|
||||||
private static void AddApplicationBase(XElement httpPlatformElement)
|
private static void AddApplicationBase(XElement httpPlatformElement)
|
||||||
{
|
{
|
||||||
const string appBaseKeyName = "ASPNET_APPLICATIONBASE";
|
const string appBaseKeyName = "ASPNETCORE_APPLICATIONBASE";
|
||||||
|
|
||||||
var envVariables = GetOrCreateChild(httpPlatformElement, "environmentVariables");
|
var envVariables = GetOrCreateChild(httpPlatformElement, "environmentVariables");
|
||||||
var appBaseElement = envVariables.Elements("environmentVariable").SingleOrDefault(e =>
|
var appBaseElement = envVariables.Elements("environmentVariable").SingleOrDefault(e =>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests
|
||||||
</handlers>
|
</handlers>
|
||||||
<aspNetCore processPath=""..\test.exe"" stdoutLogEnabled=""false"" stdoutLogFile=""..\logs\stdout.log"" startupTimeLimit=""3600"">
|
<aspNetCore processPath=""..\test.exe"" stdoutLogEnabled=""false"" stdoutLogFile=""..\logs\stdout.log"" startupTimeLimit=""3600"">
|
||||||
<environmentVariables>
|
<environmentVariables>
|
||||||
<environmentVariable name=""ASPNET_APPLICATIONBASE"" value=""."" />
|
<environmentVariable name=""ASPNETCORE_APPLICATIONBASE"" value=""."" />
|
||||||
</environmentVariables>
|
</environmentVariables>
|
||||||
</aspNetCore>
|
</aspNetCore>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Tools.PublishIIS.Tests
|
||||||
</handlers>
|
</handlers>
|
||||||
<httpPlatform processPath=""..\test.exe"" stdoutLogEnabled=""false"" stdoutLogFile=""..\logs\stdout.log"" startupTimeLimit=""3600"">
|
<httpPlatform processPath=""..\test.exe"" stdoutLogEnabled=""false"" stdoutLogFile=""..\logs\stdout.log"" startupTimeLimit=""3600"">
|
||||||
<environmentVariables>
|
<environmentVariables>
|
||||||
<environmentVariable name=""ASPNET_APPLICATIONBASE"" value=""."" />
|
<environmentVariable name=""ASPNETCORE_APPLICATIONBASE"" value=""."" />
|
||||||
</environmentVariables>
|
</environmentVariables>
|
||||||
</httpPlatform>
|
</httpPlatform>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue