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]: x:Bind members from a plain class-library ProjectReference are flagged and missing from completion #347
An x:Bind path through a property whose type is defined in a plain (non-WinUI) ProjectReference class library reports valid members as WXAML0005 and offers no completion for them. BCL, WinAppSDK, same-project and WinUI-library types resolve fine.
To Reproduce
Add a class library Core with public record Address(string City, string Zip); and reference it from the app.
Add public Address Home { get; } to the view model.
In a page, write <TextBlock Text="{x:Bind ViewModel.Home.City}"/>.
See WXAML0005 'City' is not a member of 'Address'; completion after ViewModel.Home. is empty.
Expected behavior
No diagnostic (the project builds). Completion lists City and Zip.
Notes
May be affected by the project-reference changes in 9dcfccaa; verify on main. Bug bash ID: C-15.
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