wpf - Don't compile when there are bad bindings -
is there way prevent wpf project compiling in visual studio when there bad/incorrect bindings?
no, bindings evaluated @ runtime using reflection. there no way aware of force validation @ build time. because view can bound model type when application active designed "fail gracefully" when binding can't evaluated. can see these failures in output window (typically) red debugger output lines.
Comments
Post a Comment