I can say this happened to me and not even a simple Show.Dialog()
was recognized and would give me the same errors.
What I did was a reinstall of the IDE Visual Studio 2013 Ultimate. I am pretty sure this will solve your issue, other than that I cannot explain why such an error would stand up.