React to WebListener rename.

This commit is contained in:
Chris R 2017-01-03 15:51:54 -08:00
parent 7ea92f08fc
commit 2f26170dbf
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ elseif (($serverType -eq "Kestrel") -or ($serverType -eq "WebListener"))
}
elseif ($serverType -eq "WebListener")
{
$command = $command + " --server Microsoft.AspNetCore.Server.WebListener"
$command = $command + " --server Microsoft.AspNetCore.Server.HttpSys"
Write-Host "Executing the command '$command'"
Invoke-Expression $command
}

View File

@ -84,7 +84,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
}
executableArgs += $" --server.urls {uri} "
+ $" --server {(DeploymentParameters.ServerType == ServerType.WebListener ? "Microsoft.AspNetCore.Server.WebListener" : "Microsoft.AspNetCore.Server.Kestrel")}";
+ $" --server {(DeploymentParameters.ServerType == ServerType.WebListener ? "Microsoft.AspNetCore.Server.HttpSys" : "Microsoft.AspNetCore.Server.Kestrel")}";
Logger.LogInformation($"Executing {executableName} {executableArgs}");