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

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -