UWP社区工具包DataGrid onecoreuap错误

UWP社区工具包DataGrid onecoreuap错误,uwp,datagrid,windows-community-toolkit,Uwp,Datagrid,Windows Community Toolkit,我正在运行Windows10版本1903的桌面应用程序中使用社区工具包DataGrid(6.0.0 build 86)。我会遇到很多这样的错误: onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\windows.Graphics.dll!00007FF80B5C04B0:(调用方:00007FF80B5C027B)未找到ReturnHr(163)tid(4938)80070490元素 每当数据网格中的任何项被更新时。我想摆脱这

我正在运行Windows10版本1903的桌面应用程序中使用社区工具包DataGrid(6.0.0 build 86)。我会遇到很多这样的错误:

onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\windows.Graphics.dll!00007FF80B5C04B0:(调用方:00007FF80B5C027B)未找到ReturnHr(163)tid(4938)80070490元素

每当数据网格中的任何项被更新时。我想摆脱这个错误,或者至少能够从调试输出中过滤掉它——当这些错误不断阻塞时,输出几乎是无用的

这是DataGrid xaml:

                                <controls:DataGrid ItemsSource="{Binding Devices}" Name="Devices" MinHeight="150" Margin="5"
                                                   SelectedItem="{Binding SelectedDevice, Mode=TwoWay}" VerticalScrollBarVisibility="Visible"
                                                   AutoGenerateColumns="False" RowHeight="25">
                                <controls:DataGrid.Columns>
                                    <controls:DataGridTextColumn Width="SizeToCells" MinWidth="120" Header="Device name" Binding="{Binding Name}"/>
                                    <controls:DataGridTextColumn Width="SizeToCells" MinWidth="100" Header="Address" Binding="{Binding DeviceAddress}"/>
                                    <controls:DataGridTextColumn Width="SizeToCells" MinWidth="110" Header="Connected" Binding="{Binding IsConnected}"/>
                                    <controls:DataGridTextColumn Width="SizeToCells" MinWidth="100" Header="Paired" Binding="{Binding IsPaired}"/>
                                    <controls:DataGridTextColumn Width="SizeToCells" MinWidth="80" Header="RSSI" Binding="{Binding RSSI}"/>
                                </controls:DataGrid.Columns>
                            </controls:DataGrid>

我找不到任何异常或其他设置来筛选这些消息

如果您能帮助您了解问题的根源或至少过滤掉信息,我们将不胜感激


编辑:仅使用DataGrid创建演示应用程序时未显示错误。返回到原始应用程序并删除主页上的所有内容(根网格除外)仍然会产生错误,但只有一个错误。我将继续尝试并跟踪它。

我正要放弃并创建一个新项目,这时我注意到我创建的演示被设置为“调试”“x86”,我的显示问题的应用程序被设置为“调试”“x64”。更改为“x86”解决了问题。

是否可以共享一个可以重新处理上述问题的文件?