Binding errors not showing on output window

后端 未结 4 812
太阳男子
太阳男子 2020-12-07 01:06

My output window does not show binding errors for my project. However on a colleagues machine, binding errors are displayed in the output window.

Any ideas on how to

4条回答
  •  情歌与酒
    2020-12-07 01:45

    I had the same problem and making the appropriate changes (Tools -> Options -> Debugging -> Output Window -> WPF Trace Settings -> Data Binding), I still couldn't see any DataBinding issues in the Output window. The problem was I found this line in my App.cs code

    System.Diagnostics.PresentationTraceSources.DataBindingSource.Switch.Level = System.Diagnostics.SourceLevels.Critical;
    

    This option was obviously overwriting the settings I made in the Options menu.

提交回复
热议问题