[MonoDevelop] SVN version with Stetic

Michael Gebhart lists at miketech.net
Fri Mar 10 05:19:18 EST 2006


Hi,

I had the same probleme here. MonoDevelop automatically uses
Gtk-sharp-2.4.0 as reference, but I've already updated to 2.8.0.

So I had to delete all references and add the new ones (version 2.8.0)

Greetings

Mike


> Hello,
> I've the latest svn version of monodevelop with stetic. But when i build 
> a project GTK# :
> 
> using System;
> using Gtk;
> 
> public class MainWindow: Gtk.Window
> {   
>     public MainWindow (): base ("")
>     {
>         Stetic.Gui.Build (this, "MainWindow");
>     }
>    
>     protected void OnDeleteEvent (object sender, DeleteEventArgs a)
>     {
>         Application.Quit ();
>         a.RetVal = true;
>     }
> }
> 
> I receive this error :
> [Task:File=/home/bouleetbil/Projects/GentooControle/GentooControle/MainWindow.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)
> 
> My system is gentoo with :
> dev-dotnet/gecko-sharp-0.11
> dev-util/monodoc-1.1.10
> dev-dotnet/gtk-sharp-2.8.0
> dev-dotnet/glade-sharp-2.8.0
> 
> I don't understand why namespace Gtk could not be found
> 
> 
> Excuse for my bad english but I'm french.
> 
> Bouleetbil
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 



More information about the Monodevelop-list mailing list