[MonoDevelop] problems in MD adding basics tutorial

Sharique uddin Ahmed Farooqui safknw at gmail.com
Fri Jan 20 07:56:13 UTC 2012


Hi,

I'm following this tutorial for creating addin
http://monodevelop.com/Developers/Articles/Addin_development_basics
At the end when I compile it, I get 2 errors.

1. /home/sharique/Projects/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MyClass.cs(36,36):
Error CS1502: The best overloaded method match for
`Gtk.MessageDialog.MessageDialog(Gtk.Window, Gtk.DialogFlags,
Gtk.MessageType, Gtk.ButtonsType, string, params object[])' has some
invalid arguments (CS1502) (MonoDevelop.HelloWorld)

2. /home/sharique/Projects/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MyClass.cs(36,36):
Error CS1503: Argument `#1' cannot convert
`MonoDevelop.Ide.Gui.WorkbenchWindow' expression to type `Gtk.Window'
(CS1503) (MonoDevelop.HelloWorld)
--
Sharique uddin Ahmed Farooqui
http://safknw.blogspot.com/
"Peace" is the Ultimate desire of mankind.


More information about the Monodevelop-list mailing list