Skip to content

Using arm64 in TargetPlatform node in RunSettings throws #2566

@nohwnd

Description

@nohwnd

Description

Originally posted here dotnet/runtime#42017

Forcing the <TargetPlatform>arm64</TargetPlatform> to arm64 will fail with:

Settings file provided does not conform to required format. An error occurred while loading the settings. Error: Invalid setting 'RunConfiguration'. Invalid value 'arm64' specified for 'TargetPlatform'.

This is because TargetPlatform is Architecture enum and that enum does not have arm64. There is also PlatformArchitecture and IsPlatformIncompatible and other few places that possible need update, not just the enum value.

Can be unblocked by not using that option in settings, but it should work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions