[Mono-winforms-list] RE: porting System.Windows.Forms applications fromWindows to Linux

raghava m.vijayaraghava at gmail.com
Sat Feb 25 01:08:30 EST 2006



       Hello,

              What if I want to add some more code to the source file and
need to compile it again it in Linux. How should I do it ? There are a
couple of forms which I should integrate to form a single .exe file.

                Iam also getting an exception while executing a
OpenFileDialog in Linux. Below is the partial Stack trace.......

     Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Windows.Forms.MimeIconEngine
---> System.ArgumentException: The Path does not have a valid format
in <0x002c3> System.IO.Directory:GetFileSystemEntries (System.String path,
System.String pattern, FileAttributes mask, FileAttributes attrs)
in <0x00011> System.IO.Directory:GetDirectories (System.String path,
System.String pattern)
in <0x0000f> System.IO.Directory:GetDirectories (System.String path)
in <0x00027> System.Windows.Forms.GnomeHandler:CreateUIIcons ()
in <0x000a3> System.Windows.Forms.GnomeHandler:Start ()
in <0x00455> System.Windows.Forms.MimeIconEngine:.cctor ()--- End of inner
exception stack trace ---

I have given the intial directory as "/root" .  What is the wrong in the
code ?

            Thank you.
--
View this message in context: http://www.nabble.com/RE%3A-porting-System.Windows.Forms-applications-fromWindows-to-Linux-t1175536.html#a3120364
Sent from the Mono - WinForms forum at Nabble.com.



More information about the Mono-winforms-list mailing list