I compiled an x64 mono (version 2.11) on Windows.
开发者_运维技巧I noticed that every program that use a class library (System.Net, System.IO, ...) crash systematically. I downloaded the latest version of class library, it works ok on x86 but not on x64.
Does x64 mono require x64 class library ?
The x64 compatibity issue on Windows prevented us from using mono on many projects. We decided to give it a try, I hope it works fine this time.
Currently, a 64-bit mono runtime does not require a different set of class libraries than a 32-bit mono runtime.
You do however need to ensure your version of the class libraries matches the version the runtime is expecting. If they didn't match you will normally get an error message to the console on startup.
A coworker and I did the port of the mono runtime to Windows x64. It is not as well tested as the 32-bit runtime, and so your errors may in fact be bugs. Please file any issues here:
http://www.mono-project.com/Bugs
I don't think .NET behaviors differently. In a x64 .NET process, you cannot use x86 assemblies either.
So for by design things, play politely with the rules. Don't try to cross the line.
精彩评论