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

"Platform target" does not include "ARM64" as an option. (2) #7081

Closed
tmeschter opened this issue Apr 2, 2021 · 0 comments · Fixed by #7655
Closed

"Platform target" does not include "ARM64" as an option. (2) #7081

tmeschter opened this issue Apr 2, 2021 · 0 comments · Fixed by #7655
Assignees
Labels
Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner Must-Have Items that must be delivered by the end of the assigned milestone Triage-Approved Reviewed and prioritized
Milestone

Comments

@tmeschter
Copy link
Contributor

Visual Studio Version:

16.10 Preview 2 (around 31202.13.main)

Summary:

The "Platform Target" property does not surface ARM or ARM64:

image

Steps to Reproduce:

  1. Open Tools | Options | Environment | Preview Features and ensure that "Enable Updated Project Properties UI" is checked.
  2. Create a new C# console application targeting .NET, .NET Core, or .NET Standard (not .NET Framework).
  3. Right-click on the project in Solution Explorer and choose "Properties".
  4. Go to the Build page and examine the "Platform target" drop down.

Expected Behavior:

ARM64 (and possibly ARM) are displayed.

Actual Behavior:

Only "Any CPU", x64, and x86 are shown.

User Impact:

User cannot use the property pages to target the ARM64 architecture.

Additional Notes

Currently the list of platforms is hard-coded here:

<EnumProperty Name="PlatformTarget"
DisplayName="Platform target"
Description="Specifies the processor to be targeted by the output file. Choose 'x86' for any 32-bit Intel-compatible processor, choose 'x64' for any 64-bit Intel-compatible processor, or choose 'Any CPU' to specify that any processor is acceptable. 'Any CPU' is the default value for projects, because it allows the application to run on the broadest range of hardware."
HelpUrl="https://go.microsoft.com/fwlink/?linkid=2147129"
Category="General">
<EnumValue Name="AnyCPU"
DisplayName="Any CPU" />
<EnumValue Name="x64"
DisplayName="x64" />
<EnumValue Name="x86"
DisplayName="x86" />
</EnumProperty>
.

We should instead make this a dynamic enum, and create a dynamic enum value provider that surfaces the set of platforms in the <AvailablePlatforms> property.

@tmeschter tmeschter added Bug Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner labels Apr 2, 2021
@jjmew jjmew added the Triage-Approved Reviewed and prioritized label Apr 5, 2021
@jjmew jjmew added this to the 17.0 milestone Apr 5, 2021
@melytc melytc added the Must-Have Items that must be delivered by the end of the assigned milestone label May 17, 2021
@melytc melytc changed the title "Platform target" does not include "ARM64" as an option "Platform target" does not include "ARM64" as an option. (4) May 20, 2021
@drewnoakes drewnoakes changed the title "Platform target" does not include "ARM64" as an option. (4) "Platform target" does not include "ARM64" as an option. (2) Jun 30, 2021
@ocallesp ocallesp linked a pull request Oct 4, 2021 that will close this issue
@drewnoakes drewnoakes removed the Bug label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner Must-Have Items that must be delivered by the end of the assigned milestone Triage-Approved Reviewed and prioritized
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants