Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vstest.console blocks execution on arm64 #3354

Closed
nohwnd opened this issue Feb 11, 2022 · 0 comments · Fixed by #3371
Closed

vstest.console blocks execution on arm64 #3354

nohwnd opened this issue Feb 11, 2022 · 0 comments · Fixed by #3371

Comments

@nohwnd
Copy link
Member

nohwnd commented Feb 11, 2022

vstest.console checks incoming settings and validates that the targetArchitecture and OSArchitecture are compatible. Unless the OSArchitecture and targetArchitecture are the same.

(dotnet test on arm64 device will run as arm64 by default, so it will pass the architecture == osarchitecture) for this case, and for case where we ask for x64 || x86, it will pass the other check architecture == x86 || architecture == x64.

BUT if we call vstest.console.exe (.net framework) it will run as emulated x64 (and show that as os architecture), required architecture is arm64 (different from os), and that is not x64 || x86, so it throws.

Remove that check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant