[Mono-list] Is still Mono multiplatform?
baltasarq at gmail.com
Wed Aug 1 02:40:39 UTC 2012
> Can you ensure that you set the assembly to be 32bit only. The odds
> are you are starting a 64bit process and the Gtk binaries can only be
> loaded in a 32bit process.
Right, but, how can I ensure that?
In fact, I have checked the solution I found on the morning (thanks to Ian), and this has solved the problems in my projects, except two of them. The older ones, by the way (I've been using MonoDevelop in Windows and Linux, over the very same sources, thanks to Dropbox).
For example, let's take Colorado:
If I execute that application in Windows, with the .NET framework, it won't run. It will only run from Mono. From MonoDevelop, I can execute the application from both runtimes. Again, using mono executes the applications without problems, but when selecting the .NET framework:
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Gtk.Application' threw an exception. ---> System.BadImageFormatException: Se ha intentado cargar un programa con un formato incorrecto. (Exception from HRESULT: 0x8007000B)
--- End of inner exception stack trace ---
at DiaryGui.Ppal.Main(String args)
La aplicación terminó con el código: -532462766
It seems that while Gtk is initializing, through Application.Init(), I suppose, it detects that the DLL's are corrupted or something... while other projects now run happily on .NET 4!
Any possibility you can reckon?
baltasarq <baltasarq at gmail.com>
More information about the Mono-list