diff --git a/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DotnetTestHostManager.cs b/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DotnetTestHostManager.cs index 514a030ab9..9794f2fe7a 100644 --- a/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DotnetTestHostManager.cs +++ b/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DotnetTestHostManager.cs @@ -230,7 +230,7 @@ public virtual TestProcessStartInfo GetTestHostProcessStartInfo( // If testhost.exe is available use it, unless user specified path to dotnet.exe, then we will use the testhost.dll bool testHostExeFound = false; - if (!useCustomDotnetHostpath && this.platformEnvironment.OperatingSystem.Equals(PlatformOperatingSystem.Windows)) + if (!useCustomDotnetHostpath && this.platformEnvironment.OperatingSystem.Equals(PlatformOperatingSystem.Windows) && (this.platformEnvironment.Architecture == PlatformArchitecture.X64 || this.platformEnvironment.Architecture == PlatformArchitecture.X86)) { var exeName = this.architecture == Architecture.X86 ? "testhost.x86.exe" : "testhost.exe"; var fullExePath = Path.Combine(sourceDirectory, exeName); diff --git a/src/vstest.console/Processors/EnableBlameArgumentProcessor.cs b/src/vstest.console/Processors/EnableBlameArgumentProcessor.cs index fbb4c458bb..18fcf80ce3 100644 --- a/src/vstest.console/Processors/EnableBlameArgumentProcessor.cs +++ b/src/vstest.console/Processors/EnableBlameArgumentProcessor.cs @@ -330,9 +330,7 @@ private bool IsDumpCollectionSupported() private bool IsHangDumpCollectionSupported() { var dumpCollectionSupported = - this.environment.OperatingSystem != PlatformOperatingSystem.OSX - && this.environment.Architecture != PlatformArchitecture.ARM64 - && this.environment.Architecture != PlatformArchitecture.ARM; + this.environment.OperatingSystem != PlatformOperatingSystem.OSX; if (!dumpCollectionSupported) {