How to locate the source of a binding error?

前端 未结 5 437
Happy的楠姐
Happy的楠姐 2020-12-08 05:05

How can I figure out what line of xaml contains the troublesome binding When my debug output is full of lines like the following:

System.Windows.Data Error: 5

5条回答
  •  执念已碎
    2020-12-08 05:50

    In VisualStudio goto Tools->Extentions and Updates->(download Output Enhancer). When you build your solution you will get the exact kind of error message you posted in Red color if there is a binding error.

提交回复
热议问题