XmlSerializerPreCompiler.exe

Tired of the XmlSerializer's generic "File or assembly name ctewkx4b.dll, or one of its dependencies, was not found" exception? The XmlSerializerPreCompiler tools checks to see if a type can be serialized by the XmlSerializer class and if it can't, shows the compiler errors happening behind the scenes so that the type can be modified. Enjoy.

Build

To build, load the XmlSerializerPreCompiler.sln solution into VS.NET 2003 or greater and compile. The output will be XmlSerializerPreCompiler.exe and XmlSerializerPreCompiler.exe.config. The .config file is important because it flips the undocumented switch to leave the XmlSerializer-generated temp files behind for you to dig through.

Usage

usage: XmlSerializerPreCompiler.exe [/?] <assemblyFileName> <typeName>

Contact

Feel free to contact Chris Sells [csells@microsoft.com] with comments or bug fixes. The official home of this utility is http://www.sellsbrothers.com/tools.

Copyright

Copyright © 2003 Microsoft Corporation. All rights reserved. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.