I'm using Visual Studio Express 2013 for Windows Desktop.
When working with WPF and editing XAML, the editor has this really annoying habit of freezing for a second and unfocusing the editor when writing a setter in a style.
For example: if I start writing a style like so:
<Style TargetType="Border">
<Setter Property=
</Style>
As soon as I type the "
after Property=
, Visual Studio freezes for a second, the Design view crashes and displays An Unhandled Exception has occured
, and keyboard focus switches from the editor to another window in Visual Studio causing me to have to click back in the editor window to continue typing the setter.
This will happen anytime the design view ISN'T crashed.
How can I stop Visual Studio from freezing and losing focus on the editor?