I have an entityClass
that I wish to serialize as a clone. But this class has a reference assembly from a custom framework which I don't have the access to the code. Whenever I try to serialize entityClass
object, it throw the exception,
Type ... in Assembly '..., Version=4.1.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.