From 9f1e6607dd1b3d15bc6c42146629677c6b455fd0 Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Tue, 5 Dec 2017 15:17:15 -0800 Subject: [PATCH] Changes OS bitness check to Environment rather than System.Runtime.InteropServices.RuntimeInformation (#1286) --- .../Deployers/IISExpressDeployer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs index 178764ef91..7690c48d0f 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs @@ -47,8 +47,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting { get { - return RuntimeInformation.OSArchitecture == Architecture.X64 - || RuntimeInformation.OSArchitecture == Architecture.Arm64; + return Environment.Is64BitOperatingSystem; } }