Skip to content

VsTest does not correctly pick the testhost for ARM64 native assemblies #15275

@drognanar

Description

@drognanar

The method GetArchitectureForSource is meant to get the dll architecture for native assemblies.
However, that method does not support the ARM64 architecture. Looking at MSBuild defines the following constant internal const UInt16 IMAGE_FILE_MACHINE_ARM64 = 0xAA64; // ARM64 Little-Endian.

We should also add the support for this image number.

The current behaviour is that vstest does not know the architecture of the child process and in effect it picks either the user specified default or the machine's architecture.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions