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
Using ItemsSource="ABCD" or ItemsSource="1234" for example as a quick ItemsSource during tests, throw a XamlParseException on WinUI. (As opposed to building fine on UWP)
Exception thrown: 'Microsoft.UI.Xaml.Markup.XamlParseException' in WinRT.Runtime.dll
WinRT information: Failed to assign to property 'Microsoft.UI.Xaml.Controls.ItemsControl.ItemsSource'. [Line: 16 Position: 17]
XAML parsing failed.
As long as there's a readable error in the output this is actually fine - such a situation is obviously bogus and should be hunted down. One of the annoying parts of UWP was having to track down such weird XAML lines (usually typos) when things suddenly stopped working.
Describe the bug
Using
ItemsSource="ABCD"
orItemsSource="1234"
for example as a quickItemsSource
during tests, throw aXamlParseException
on WinUI. (As opposed to building fine on UWP)Steps to reproduce the bug
Try this snippet of code in a WinUI app:
Expected behavior
There should be no
XamlParseException
like for UWPScreenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.3.3: 1.3.230724000
Windows version
Windows 10 (21H2): Build 19044
Additional context
I did not find a similar issue opened so I added this one. This is really useful to have on hand for quick tests.
The text was updated successfully, but these errors were encountered: