The error message I get is
A first chance exception of type \'System.Windows.Markup.XamlParseException\' occurred in System.Windows.ni.dll
Just add the permission in your manifest file.