Matt Berther bio photo By Matt Berther Comment

Today I stumbled across a post from Douglas Purdy that talked about diagnostic switches for the XmlSerializer.

Create an application configuration file with the following contents:

         <add name="XmlSerialization.Compilation" value="1" />

By doing this, you will have some files that are created and retained in your %TEMP% directory.

  • xxxx.cmdline -- contains the command line used to compile the command
  • xxxx.0.cs and xxxx.out -- contains the output of the compile command
  • xxxx.err -- contains any error messages output by the command
  • xxxx.pdb -- contains debugging symbols