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