I have serialized a class which used to be in namespace Temp, but now I am deserializing inside another namespace (I mean the class which I use to fetch the objects currently resides in another namespace). I am facing the error that the Temp namespace could not be found. I have found this mapping useful: Maintain .NET Serialized data compatability when moving classes.
Is there any way to just serialize the class object and not assembly info or the namespace info? (I am thinking of future change and getting rid of that mapping).