Referencing System.Reactive from a WinUI 3 app or library is causing XLS errors to display in Visual Studio while XAML files are open.
There seems to be a commonality that all errors are reported for controls & properties added after the first UWP release (not that WinUI 3 is uses system XAML/UWP, and all controls/properties have always existed in the WASDK/WinUI 3). Such as Grid's backgroundSizing and RowSpacing properties, or the ToggleButton control and its CornerRadius property.
Repro steps are at the bottom.
Errors:
No errors (reference commented out):
Which library version?
5.0.0, 6.0.0, 6.0.1
What are the platform(s), environment(s) and related component version(s)?
Microsoft.WindowsAppSDK Version 1.4.231115000 & latest preview
Microsoft.Windows.SDK.BuildTools Version 10.0.22621.2428 & latest preview
Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.9.0 Preview 2.0
What is the use case or problem?
What is the expected outcome?
What is the actual outcome?
The XLS errors can't be silenced in any way and there can be dozens to hundreds of them clogging up the Error List view depending on what files are open.
Do you have a code snippet or project that reproduces the problem?
Bug
Referencing System.Reactive from a WinUI 3 app or library is causing XLS errors to display in Visual Studio while XAML files are open.
There seems to be a commonality that all errors are reported for controls & properties added after the first UWP release (not that WinUI 3 is uses system XAML/UWP, and all controls/properties have always existed in the WASDK/WinUI 3). Such as
Grid
'sbackgroundSizing
andRowSpacing
properties, or theToggleButton
control and itsCornerRadius
property.Repro steps are at the bottom.
Errors:
No errors (reference commented out):
5.0.0, 6.0.0, 6.0.1
Microsoft.WindowsAppSDK Version 1.4.231115000 & latest preview Microsoft.Windows.SDK.BuildTools Version 10.0.22621.2428 & latest preview Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.9.0 Preview 2.0
The XLS errors can't be silenced in any way and there can be dozens to hundreds of them clogging up the Error List view depending on what files are open.
Repro:
AControl.xaml
and/orMainWindow.xaml