[MonoDevelop] runing monodevelop on SUSE

Dimo dimo.mitchev at feratel.com
Tue Apr 18 12:54:15 EDT 2006


Hi!
I succeed to install monodevelop on open SUSE using yaST control 
center/software management

and try to run sample program created by monodevelop template (GTK# 
application)





// created on 04/18/2006 at 19:43

using System;

using Gtk;

using GtkSharp;



namespace MyWindow

{

            public class CreatedWindow : Window

            {

                        public CreatedWindow () : base ("MyWindow")

                        {

                        }

            }

}



BUT WHEN click to build error message appears



Error while executing command: Build



Exception ocurred: System.NullReferenceException: Object reference not set 
to an instance of an object

in 0x00000 unknown method

in (wrapper managed-to-native) GLib.Object:gtksharp_object_newv 
(intptr,int,intptr[],GLib.Value[])

in 0x00106 GLib.Object:CreateNativeObject (System.String[] names, 
GLib.Value[] vals)

in 0x00024 Gtk.Object:CreateNativeObject (System.String[] names, 
GLib.Value[] vals)

in 0x00024 Gtk.Widget:CreateNativeObject (System.String[] names, 
GLib.Value[] vals)

in 0x00079 Gtk.FileChooserDialog:.ctor (System.String title, Gtk.Window 
parent, FileChooserAction action, System.Object[] button_data)

in 0x000b6 MonoDevelop.Gui.Widgets.FileSelector:.ctor (System.String title, 
FileChooserAction action)

in 0x001ba MonoDevelop.Services.DefaultFileService:SaveFileAs 
(IWorkbenchWindow window)

in 0x00060 MonoDevelop.Services.DefaultFileService:SaveFile 
(IWorkbenchWindow window)

in 0x0010b MonoDevelop.Commands.BuildHandler:Run ()

in 0x0001c MonoDevelop.Commands.CommandHandler:Run (System.Object dataItem)

in 0x00079 MonoDevelop.Commands.ActionCommand:DispatchCommand (System.Object 
dataItem)

in 0x004af MonoDevelop.Commands.CommandManager:DispatchCommand 
(System.Object commandId, System.Object dataItem)







Can somebody tell that is the problem and how to overcome it (this is in 
monodevelop 0.7)

Also I couldn't succeed to update it to newer version.



More information about the Monodevelop-list mailing list