You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Resource keys from page-level and ms-appx merged dictionaries are reported as not found #353
Resource dictionaries merged at page or element level (Page.Resources / Grid.Resources with MergedDictionaries or Source=) and ms-appx:///<ReferencedProject>/... dictionaries are never followed. Every key from them is reported as WXAML0013. The same dictionaries merged from App.xaml in the same project work.
In a page: <Page.Resources><ResourceDictionary Source="ms-appx:///Styles/PageOnly.xaml"/></Page.Resources> and <Border Background="{StaticResource PageOnlyBrush}"/>.
See WXAML0013 The resource 'PageOnlyBrush' was not found.
Separately: in App.xaml merge ms-appx:///Contoso.Controls/Styles/ControlColors.xaml from a referenced library; its keys are flagged too.
Expected behavior
Keys from these merged dictionaries resolve and appear in {StaticResource} completion.
Notes
Typed dictionaries (<local:MyResources/>) are tracked in #303. Bug bash IDs: C-12, C-14.
Screenshots
No response
OS Version and details
Windows 11 x64 (10.0.26200), VS Code 1.143.1, .NET SDK 10.0.403. Found in the XAML IntelliSense bug bash on 0.3.1-prerelease.456 (PR #276, f90df977).
Activity