PDA

View Full Version : Porting a Windows Forms project to Mono



mihnea.radulescu
May 15th, 2010, 10:37 PM
Hello everybody!

I developed (up to alpha stage, at this moment) a picture browsing application for .NET 2.0 and released it under GPL v3.

Explanatory article: http://www.codeproject.com/KB/cs/ImageFan.aspx

Google Code page: http://code.google.com/p/imagefan/

I tried to execute it on Mono to no avail. Even though the application runs, certain features do not work as expected, especially key presses and the full screen mode.

I also tried compiling it with Mono's C# compiler using Monodevelop. Although the compilation completed successfully, the newly-built application simply crashed on load.

After searching on the Mono project page, I found out that Windows Forms in the latest Mono version is considered to be 100% compatible with the corresponding MS implementation. Still, my Winforms app simply refuses to run correctly on Ubuntu, while running as expected on Windows.

Does anyone know of possible fixes to my emerging program, outside of shifting to GTK#, instead of Windows Forms?

All the best,
Mihnea

JwB Zoofware
May 15th, 2010, 11:27 PM
Are any errors sent to stdout when you run it from a terminal? (i.e "mono app.exe") I've noticed that mono doesn't report any uncaught exceptions graphically.

mihnea.radulescu
May 15th, 2010, 11:56 PM
No error messages written to the console window.