Skip to content

Hide "Prefer Native ARM64" Checkbox in Legacy Property Pages for .NET Framework MSTest Projects #9598

Open
@ocallesp

Description

@ocallesp

Summary

The "Prefer Native ARM64" checkbox appears in the old-style property pages for MSTest projects targeting .NET Framework, but it is currently ignored. This can lead to user confusion since the option does not apply to these project types.

To improve clarity and usability, this checkbox should be hidden specifically for .NET Framework MSTest projects. The implementation can be achieved by checking the project's capabilities and its target framework.

This issue is limited to legacy .NET Framework test projects and does not impact other project types. ARM64 support may be fully implemented by version 17.13 Preview 3, making this change a helpful interim solution.

Steps to Reproduce

  1. Open Visual Studio 2022 on an ARM64 Windows machine.
  2. Create a new MSTest project targeting .NET Framework.
  3. Open the project's property pages.
  4. Navigate to the Build section and locate the "Prefer Native ARM64" option.

Expected Behavior

The "Prefer Native ARM64" option should be hidden, disabled, or grayed out for .NET Framework MSTest projects.

Actual Behavior

The "Prefer Native ARM64" option is available and can be checked or unchecked, despite being non-functional.

User Impact

Users may be confused by the presence of this option, as it is currently non-functional for .NET Framework MSTest projects.


Note:
Our team will update the documentation to clarify this behavior and inform users about its relevance and limitations.

Additionally, we would like to assess if the required code changes are too extensive for this request. Please do not implement this yet, as we would like to discuss the proposal further in this GitHub issue.
cc: @nohwnd

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions