Skip to content

Enable building native projects for windows arm64 #55145

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

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

akoeplinger
Copy link
Member

Fixes building aspnetcore for windows arm64 in the VMR.

Description

Right now the native projects are only built when targetting x86/x64 architectures. This causes an issue in the VMR because we're building windows arm64 in a separate job and aspnetcore fails because of the missing native assets.

The desktop msbuild build for the native projects was disabled for arm64, enable it to match the other architectures.

@akoeplinger akoeplinger requested review from wtgodbe and a team as code owners April 15, 2024 14:23
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 15, 2024
@@ -150,7 +150,7 @@ param(
[ValidateSet('Debug', 'Release')]
$Configuration,

[ValidateSet('x64', 'x86', 'arm', 'arm64')]
[ValidateSet('x64', 'x86', 'arm64')]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32bit arm on windows was removed in .NET 5 so we don't need to check it anymore

@akoeplinger akoeplinger merged commit b83e1e1 into dotnet:main Apr 16, 2024
@akoeplinger akoeplinger deleted the fix-win-arm64 branch April 16, 2024 10:45
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0-preview4 milestone Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants