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 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
) )

View File

@ -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