[Gtk-sharp-list] Ubuntu: Warning: The reference 'atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' is not valid for the target framework of the project.

Francesco PIRANEO G. fpiraneo at iface.ch
Thu May 27 03:51:38 EDT 2010


I am completely new to Ubuntu and to Mono.
> I installed Ubuntu via the synaptic package manager.  I created a new
> solution and am attempting to compile it.  It is a blank project.  I am
> getting the following warnings and error.  I checked the path and the file
> seems to be there.
>
> ...CUT...
> /home/bob/Projects/test/test/MainWindow.cs(7,7): Error CS0246: The type or
> namespace name `Gtk' could not be found. Are you missing a using directive
> or an assembly reference? (CS0246) (test)

It seems that you don't have included the necessary reference on the 
project; take a look at how you created the project: you have to select 
a new GTK project: this make monodevelop to include all necessary 
references that you later find under the References folder on your solution.

Let us know.
Francesco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpiraneo.vcf
Type: text/x-vcard
Size: 386 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20100527/c24734e0/attachment.vcf 


More information about the Gtk-sharp-list mailing list