title: Serialization problem: Different namespaces (.NET)
body: <p>We released a program that serializes a very complex object using the .NET soap formatter.  Soap didn't handle new versions of the classes involved very well so we're switching to the binary formatter.</p>
  
  <p>To handle old object versions, I wrote a converter that deserializes the object in soap, and re-serializes it in binary.</p>
  
  <p>The converter uses the versions of the classes at the time of the switch, so I put these classes in a different namespace to avoid clashes with the current versions.</p>
  
  <p>Here's the problem: The namespace is apparently serialized with the class, so I get the error: Cannot cast NamespaceA.class as NamespaceB.class.  (Arrgh!)</p>
  
  <p>The classes are exactly the same; the only problem is the namespaces.  How can I make the framework ignore the namespaces?</p>