Skip to content

Bug: The WMC1510 warning message unexpectedly appears in the control template pulled by generic.xaml #10382

@Gaoyifei1011

Description

@Gaoyifei1011

Describe the bug

The WMC1510 warning message unexpectedly appears in the control template pulled by generic.xaml

--------------------------------------

WMC1510 警告信息意外出现在 generic.xaml 拉取的控件模板中

Steps to reproduce the bug

When the DefaultTeachingTipStyle (TeachingTip) control template is pulled from the generic.xaml control template, additional WMC1510 information related to AOT publishing appears when the application is compiled

--------------------------------------

generic.xaml 控件模板中拉取 DefaultTeachingTipStyle(TeachingTip)控件模板时,应用编译时会出现以外的 WMC1510 信息,该信息与 AOT 发布有关

Expected behavior

The WMC1510 information should not appear in the pulled TeachingTip control template

--------------------------------------

WMC1510 信息不应该出现在拉取的 TeachingTip 控件模板中

Screenshots

Image

Image

NuGet package version

WinUI 3 - Windows App SDK 1.6.5: 1.6.250205002

Windows version

Windows 11 (24H2): Build 26100

Additional context

Version Info

CsWinRT 2.2.0
Windows App SDK 1.7-preview1
Visual Studio 17.13
.net 9.0.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions