Validate data binding in XAML in compile time

后端 未结 6 1743
说谎
说谎 2020-12-08 22:44

I’m working on WPF based application. Environment is VS2008 SP1 with .NET 3.5 SP 1. In our development we are using MVVM pattern widely.

I.e. application developer

6条回答
  •  忘掉有多难
    2020-12-08 23:40

    Currently we are using Caliburn and unit tests in the way explained in this article Testing Bindings In WPF. The drawback of this solution, UI developer writes code that has only meaning to validate bindings and can be omitted if MS (or somebody) would write XAML validation compiler.

提交回复
热议问题