Skip to content

[Bug]: XAML diagnostics flag valid platform SystemColor resources #201

Open

Description

Describe the bug

The XAML language server reports WXAML0013 for valid platform theme resources that are not present in the WinUI generic.xaml catalog. Round 5 testing found {ThemeResource SystemColorHotlightColor} flagged in AI Dev Gallery even though the resource is supplied by the Windows platform.

To Reproduce

  1. Open a WinUI XAML file with a color-valued property.
  2. Set the value to {ThemeResource SystemColorHotlightColor}.
  3. Observe WXAML0013 reporting an unknown resource key.

Expected behavior

Platform-provided system resources should be recognized without weakening diagnostics for genuinely unknown resource keys. Audit the complete SystemColor* platform resource family rather than adding only this key.

Screenshots

N/A

OS Version and details

Windows 11; found during PR #50 Round 5 gallery validation against prerelease.290.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions