From 9a931554d5416825218189ccd476a6709fc76ef9 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Tue, 9 May 2017 14:15:36 -0700 Subject: [PATCH] Replace RuntimeEnvironment (#1066) --- .../Microsoft.AspNetCore.Hosting.csproj | 1 - .../Deployers/IISExpressDeployer.cs | 2 +- .../Microsoft.AspNetCore.Server.IntegrationTesting.csproj | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Microsoft.AspNetCore.Hosting/Microsoft.AspNetCore.Hosting.csproj b/src/Microsoft.AspNetCore.Hosting/Microsoft.AspNetCore.Hosting.csproj index 86bffba83e..d253715cb6 100644 --- a/src/Microsoft.AspNetCore.Hosting/Microsoft.AspNetCore.Hosting.csproj +++ b/src/Microsoft.AspNetCore.Hosting/Microsoft.AspNetCore.Hosting.csproj @@ -28,7 +28,6 @@ - diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs index bf056a382c..f1116f7771 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs @@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting { var win8Version = new Version(6, 2); - return (new Version(Extensions.Internal.RuntimeEnvironment.OperatingSystemVersion) >= win8Version); + return (Environment.OSVersion.Version >= win8Version); } } diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Microsoft.AspNetCore.Server.IntegrationTesting.csproj b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Microsoft.AspNetCore.Server.IntegrationTesting.csproj index d5ec92df30..c6588afd8f 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Microsoft.AspNetCore.Server.IntegrationTesting.csproj +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Microsoft.AspNetCore.Server.IntegrationTesting.csproj @@ -24,7 +24,6 @@ -