Replace DNX451 with NET451

This commit is contained in:
BrennanConroy 2016-03-31 10:58:45 -07:00
parent 6e87b51638
commit b5816f22cf
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Server.Testing
else
{
if (exception is HttpRequestException
#if DNX451 || NET451
#if NET451
|| exception is System.Net.WebException
#endif
)

View File

@ -33,7 +33,7 @@ namespace Microsoft.AspNetCore.Server.Testing
{
case ServerType.IISExpress:
return new IISExpressDeployer(deploymentParameters, logger);
#if DNX451
#if NET451
case ServerType.IIS:
return new IISDeployer(deploymentParameters, logger);
#endif