没有WPF的消息在Visual Studio输出窗口!窗口、消息、WPF、Studio

2023-09-06 19:35:27 作者:动情必致命 i

我调试,它包含一个WPF模块的解决方案。

I debug a solution that contains a WPF module.

我用的是OutputWindow跟踪一些变量的值。

I use the OutputWindow to trace some variable values.

然而,当我打开WPF组件在输出窗口我收到了很多错误像

However, once I open the WPF component I recieve in the output Window a lot of "Errors" like

......在BindingEx pression产生的价值是不是有效的目标属性......等。

"...Value produced by BindingExpression is not valid for target property...." etc.

如何避免消息?

微软的Visual Studio 2010 版本10.0.30319.1 RTMRel Microsoft .NET框架 版本4.0.30319 RTMRel

Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel Microsoft .NET Framework Version 4.0.30319 RTMRel

安装的版本:旗舰版

我要的取消选中程序输出(???),以看到的只是程序输出......

I should uncheck the "Program Output" (???) in order to see just the "Program output"...

永远不知道...

推荐答案

这些消息都表明你的数据绑定错误。您应该检查在WPF定义了数据绑定。

Those messages indicate errors in your data binding. You should check your data bindings defined in WPF.