Skip to content

Commit 9f1e660

Browse files
authored
Changes OS bitness check to Environment rather than System.Runtime.InteropServices.RuntimeInformation (#1286)
1 parent cf46dfc commit 9f1e660

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ public bool Is64BitHost
4747
{
4848
get
4949
{
50-
return RuntimeInformation.OSArchitecture == Architecture.X64
51-
|| RuntimeInformation.OSArchitecture == Architecture.Arm64;
50+
return Environment.Is64BitOperatingSystem;
5251
}
5352
}
5453

0 commit comments

Comments
 (0)