Skip to content

Error out properly when building WPF on ARM64 app until support is added. #7467

@hoyosjs

Description

@hoyosjs

In #7457 we added support for WinForms apps targeting Windows ARM64, but not WPF. A RID specific build/publish fails appropriately if UsingWpf is set (it claims that the WPF pack is not a valid framework reference). However, a RID agnostic WPF app successfully builds (be it on the ARM64 device itself or on a crossbuild), but will fail at runtime on ARM64. The shared framework on ARM64 doesn't have the WPF bits and will end up throwing a FileNotFound exception.

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