fsprojects / FsXaml

F# Tools for working with XAML Projects
http://fsprojects.github.io/FsXaml/
MIT License
171 stars 48 forks source link

Wrapped an obscure XAML writing exception during XAML injection into … #54

Closed mtikilay closed 7 years ago

mtikilay commented 7 years ago

…a standard Exception with a message indicating the location of the offending XAML in the file. The idea is that this will at least point the user to the problem source rather than leave them confused by an incomprehensible message. To see an example of said incomprehensible message, try having a with a "Checked={Binding ...}" attribute (instead of the correct "IsChecked=...") in your XAML.

ReedCopsey commented 7 years ago

Thank you @mtikilay ! That's a great improvement.