So, I wanted to rename a window in a WPF application - a prototype I'm working on.
First, I rename the code in the .cs code-behind file. Then, I change the Class attribute on the root element of the xaml file.
Cool, thinks I. A quick compile, no errors, everything looks good.
But, when the application is run ... I got an error dialog saying “There is no source code available for the current location”:
Eh? I thought the technology was called WPF, not WTF!