[Mono-dev] [PATCH] Make DateTime binary compatible with .NET
Jonathan Pobst
monkey at jpobst.com
Fri Nov 6 11:30:04 EST 2009
Jonathan Hseu wrote:
> And, in the long run, people will stop using older versions of Mono.
> But people will continue to use .NET, and this issue will come up over
> and over again.
The long term fix would probably be add the code that allows the
deserializer to *read* either method now to the current branches (2.4
LTS, 2.6, and trunk).
At some point in the future (2.8? 3.0?), we could then change the writer
to *write* the .Net way, and it would be backwards compatible with
2.4.3+ as well as compatible with itself and .Net.
This way you would have to be using very different versions of Mono to
hit the incompatibility (2.2 <-> 3.0).
In the mean time, you can write the .Net way using a environment
variable like Gert suggested. (MONO_STRICT_MS_COMPLIANT)
Jonathan
More information about the Mono-devel-list
mailing list