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

[release/3.1] Tools: Enable .NET Framework projects targeting win-arm64 #28254

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

bricelam
Copy link
Contributor

@bricelam bricelam commented Jun 16, 2022

Adds an ARM64 build of the .NET Framework "inside man" ef.exe. Also adds a win-arm64 shim to dotnet-ef for signing.

Customer impact

Without this, dotnet-ef and the PMC commands won't work with .NET Framework projects specifically targeting ARM64. It's worth noting, however, that AnyCPU, x86, and x64 projects will work on ARM64 machines without this change.

Regression

No. ARM64 has not previously been supported on .NET Framework with the EF tools.

Risk

Low.

This just adds a new code branch and assembly that will only run when the project targets ARM64. Previously, this condition would have resulted in the following error.

Startup project 'ConsoleApp1' has an active platform of 'ARM64'. Select a different platform and try again.

Verification

Manual verification pending. How do I requisition one of those fancy new Project Volterra devices? 😜

@bricelam bricelam requested a review from a team June 16, 2022 19:26
@rbhanda rbhanda added this to the 3.1.28 milestone Jun 21, 2022
@ajcvickers ajcvickers merged commit fb8b6e2 into dotnet:release/3.1 Jun 22, 2022
@ajcvickers ajcvickers removed this from the 3.1.28 milestone Jun 22, 2022
@bricelam bricelam deleted the arm64 branch July 6, 2022 15:40
@bricelam
Copy link
Contributor Author

bricelam commented Jul 6, 2022

Hmm... I don't think you can actually run dotnet-ef 3.1 on win-arm64. We don't have a rollforward behavior defined, so it requires the 3.1 runtime. But installing the 3.1 (x64) runtime errors with not supported by the processor type.

@bricelam
Copy link
Contributor Author

bricelam commented Jul 6, 2022

Ok, I can work around is using this.

SET DOTNET_ROLL_FORWARD=Major

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

Successfully merging this pull request may close these issues.

4 participants