Skip to content

Create poisoned xaml headers to prevent including WUX headers directly #8255

@asklar

Description

@asklar

Today it's easy for developers to mistakenly include / use a Windows.UI.Xaml header or type (when instead they should be using the straddled headers that know whether to use WUX or MUX, and the namespace aliases).

--

OT, I wonder if we can create poisoned headers for WUX to tell folks to use the straddle types as a built-time error.

Originally posted by @NickGerleman in #8248 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions