Replace DNX451 with NET451
This commit is contained in:
parent
6e87b51638
commit
b5816f22cf
|
|
@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Server.Testing
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (exception is HttpRequestException
|
if (exception is HttpRequestException
|
||||||
#if DNX451 || NET451
|
#if NET451
|
||||||
|| exception is System.Net.WebException
|
|| exception is System.Net.WebException
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ namespace Microsoft.AspNetCore.Server.Testing
|
||||||
{
|
{
|
||||||
case ServerType.IISExpress:
|
case ServerType.IISExpress:
|
||||||
return new IISExpressDeployer(deploymentParameters, logger);
|
return new IISExpressDeployer(deploymentParameters, logger);
|
||||||
#if DNX451
|
#if NET451
|
||||||
case ServerType.IIS:
|
case ServerType.IIS:
|
||||||
return new IISDeployer(deploymentParameters, logger);
|
return new IISDeployer(deploymentParameters, logger);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue