D
Dan
I frequently serialize class instances with XmlSerializer. It works BUT...
Whenever I'm debugging and (via the Debug->Exceptions dialog) and enable
breaking whenever Common Language Runtime Exceptions are 'Thrown', I ALWAYS
get a FileNotFoundException instantiating a serializer:
XmlSerializer serializer = new XmlSerializer ( myClass.GetType () );
If I go back into the Exceptions dialog, Reset All and step over that line
of code it works, I re-enable Thrown exceptions and can continue. So, it's
not a show-stopper, but it's a pain to always have to be toggling this off
and on.
Is there anything I can do about this?
Whenever I'm debugging and (via the Debug->Exceptions dialog) and enable
breaking whenever Common Language Runtime Exceptions are 'Thrown', I ALWAYS
get a FileNotFoundException instantiating a serializer:
XmlSerializer serializer = new XmlSerializer ( myClass.GetType () );
If I go back into the Exceptions dialog, Reset All and step over that line
of code it works, I re-enable Thrown exceptions and can continue. So, it's
not a show-stopper, but it's a pain to always have to be toggling this off
and on.
Is there anything I can do about this?