Skip to content

<winrt/Microsoft.UI.Xaml.Interop.h> has no 'xaml_typename' identifier #10553

@game1024

Description

@game1024

Describe the bug

The <winrt/Microsoft.UI.Xaml.Interop.h> has not 'xaml_typename'. The only way I can use xaml_typename is that I must include <winrt/Windows.UI.Xaml.Interop.h>

You can see if I comment Windows.UI.Xaml.Interop.h,There will be an error message for xaml_typename
Image

Image

Steps to reproduce the bug

The <winrt/Microsoft.UI.Xaml.Interop.h> has not 'xaml_typename'. The only way I can use xaml_typename is that I must include <winrt/Windows.UI.Xaml.Interop.h>

You can see if I comment Windows.UI.Xaml.Interop.h,There will be an error message for xaml_typename
Image

Image

Expected behavior

No response

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions