[Mono-list] Serialization problem between Mono and .NET

Augusto Cesar Radtke radtke at radtke.com.br
Fri Jan 19 19:52:10 EST 2007


Hello, I'm facing this error when trying to exchange some structure like
Dictionary <> between Mono and .NET using Remoting:

Parse Error, no type associated with Xml key a2
System.Collections.Generic.IEquatableOfTEqualityComparer`1[[System.String,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089]] mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089

I have already research a lot about it and I think it can be serialization
incompatibility between Mono and .NET, I have read that even between
different .NET Framework versions this could occur, but I'm not totally
sure.

I'm using the SOAP serialization by setting [Serializable] attribute in the
class. Should I implement the ISerializable interface instead of this? Will
this fix my problem or there is another way to circumventing this?

Thanks in advance,

Augusto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070119/56fa2d59/attachment.html 


More information about the Mono-list mailing list