You are getting this exception because you have (probably) set your debugger to “Break on all exceptions” (Debug -> Exceptions, Common Language Runtime Exceptions is probably checked).
This exception is normally issued and managed by System.Xml.XmlSerializer but it pops up because of this setting.
It is sometimes necessary to have the Common Language Runtime Exceptions Thrown[_] checked for debugging a particular issue. In this case, it makes you see things you don’t want to see.
When the execution is stopped because of the exception mentioned above, pressing F5 should resume the execution.
Imported from legacy forums. Posted by Ghislain (had 2676 views)