After developing a WPF application without Source Control, I decided to add the solution to TFS.
After doing so whenever I opened the main window.xaml file in Design
I have been experiencing this kind of crashes. Make sure your code behind contains the class of the xaml you are editing (this is by default)