Ever get this?

System.Windows.Markup.XamlParseException: Unexpected end of element when parsing an object. BAML stream might be corrupted. 

This flummoxed me for quite awhile, until Eric Burke (whose blog is heating up...) realized by deduction that adding the XAMLDebugging info to your .proj file can cause this.  Developers beware.