Changes OS bitness check to Environment rather than System.Runtime.InteropServices.RuntimeInformation (#1286)
This commit is contained in:
parent
cf46dfcc5e
commit
9f1e6607dd
|
|
@ -47,8 +47,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return RuntimeInformation.OSArchitecture == Architecture.X64
|
return Environment.Is64BitOperatingSystem;
|
||||||
|| RuntimeInformation.OSArchitecture == Architecture.Arm64;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue