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

Use AnyCPU target to support ARM64 and x64 CPUs #226

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

vmoroz
Copy link
Member

@vmoroz vmoroz commented Mar 12, 2024

Our .Net assemblies were created CPU-specific.
Thus, when we install an NPM package for Mac or Windows ARM64 we had a crash because assemblies were targeting x64.
In this PR we change the settings to target AnyCPU.
In my manual tests I saw it was working on x64 and ARM64 machines (Windows and Mac).

Fixes #179
Fixes #211

@vmoroz vmoroz requested a review from jasongin March 12, 2024 18:10
@vmoroz vmoroz merged commit 33456d1 into microsoft:main Mar 12, 2024
21 checks passed
@vmoroz vmoroz deleted the PR/fix_arm64_deployment branch March 12, 2024 18:28
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 this pull request may close these issues.

Usage on OS X + arm64 Mac arm64 binaries are bad because the pipeline installs x64 .NET
2 participants