[MonoDevelop] Namespace Gtk not found

Uwe Fechner ufechner at sk28.de
Sat Nov 26 11:58:59 EST 2005


Hello,

I am using an update gentoo linux.

Since my upgrade to monodevelp 0.9 I get the following error, if I 
compile the most basic Gtk# project:

[Task:File=/home/ufechner/Projects/gtk_sharp/MyWindow.cs, Line=2, 
Column=1, Type=Error, Description=The type or namespace name `Gtk' could 
not be found. Are you missing a using directive or an assembly 
reference?(CS0246)

Code:

// project created on 26.11.2005 at 14:15
using System;
using Gtk;

class MainClass
{
    public static void Main (string[] args)
    {
        Application.Init ();
        new MyWindow ();
        Application.Run ();
    }
}

Any idea?

(Could this a Gtk 2.6 vs. Gtk 2.4 issue?)

Regards:

Uwe Fechner


More information about the Monodevelop-list mailing list