[Mono-devel-list] Converting project to Linux/mono

John Bailo jabailo at earthlink.net
Thu Sep 23 08:17:55 EDT 2004


There is a GNU/OSS c# project that I'm trying to convert to mono.

It is a news reader:

http://gon.sourceforge.net/


Oddly, after creating a project with monodevelop and adding all the *.cs files 
in, and getting all the assembly references right it actually compiled.

It's not yet running though.   When I try to run at the command line, it 
reports the messages below.   

Questions:

1. Were these control methods just not implemented in System.Windows.Forms ?

2. Is there any automated script or tool for converting a Windows VS.NET 
project to mono/Linux ?

3. Should I just do the handwork of converting all the UI to gtksharp?   
There's quite a bit of it, and I was hoping to get a leg up on writing a 
newsreader with this source code




jbailo at linux:~/MonoDevelopProjects/Gigi's Own 
NewsReader/Gigi/bin/Debug> ./Gigi.
exe
unresolved type: [System.Windows.Forms]System.Windows.Forms.RichTextBox
unresolved type: [System.Windows.Forms]System.Windows.Forms.FontDialog
token 0x0A000084: member `System.Windows.Forms.RichTextBox.set_Font' not found
token 0x0A000097: member `System.Windows.Forms.RichTextBox..ctor' not found
token 0x0A0000DD: member `System.Windows.Forms.RichTextBox.set_ScrollBars' not 
f
ound
token 0x0A0000DE: member `System.Windows.Forms.RichTextBox.set_Text' not found
token 0x0A0000E2: member `System.Windows.Forms.RichTextBox.add_LinkClicked' 
not
found
token 0x0A0000F4: member `System.Windows.Forms.RichTextBox.set_SelectionColor' 
n
ot found
token 0x0A0000F5: member `System.Windows.Forms.RichTextBox.get_Text' not found
token 0x0A0000FC: member `System.Windows.Forms.RichTextBox.get_TextLength' not 
f                                                                            
ound
token 0x0A0000FF: member `System.Windows.Forms.RichTextBox.get_SelectionFont' 
no                                                                            
t found
token 0x0A000101: member `System.Windows.Forms.RichTextBox.set_SelectionFont' 
no                                                                            
t found
token 0x0A000102: member `System.Windows.Forms.RichTextBox.get_SelectedText' 
not                                                                             
found
token 0x0A000103: member `System.Windows.Forms.RichTextBox.set_SelectedText' 
not                                                                             
found
token 0x0A000157: member `System.Windows.Forms.FontDialog..ctor' not found
token 0x0A00016A: member 
`System.Windows.Forms.FontDialog.set_AllowVerticalFonts                                                                            
' not found
token 0x0A00016B: member `System.Windows.Forms.FontDialog.set_Font' not found
token 0x0A00016C: member `System.Windows.Forms.FontDialog.set_FontMustExist' 
not                                                                             
found
token 0x0A00016D: member `System.Windows.Forms.FontDialog.set_ShowEffects' not 
f                                                                            
ound
token 0x0A000177: member `System.Windows.Forms.FontDialog.get_Font' not found
token 0x0A0001A4: member `System.Windows.Forms.RichTextBox.set_DetectUrls' not 
f                                                                            
ound
./Gigi.exe: unresolved external references



More information about the Mono-devel-list mailing list