List Info

Thread: MD and GTK# I can't see version of GTK#




MD and GTK# I can't see version of GTK#
user name
2007-10-10 21:33:06
Hi friends.
I have troubles with MD and Gtk#, I don't know what is going on... but, for example: When I start with new project with Gtk# support, I can't see the GKT# version supported on the project definition tab of the MonoDevelop. I am sure the same problem to do that I get other errors with older applications developed with MD from openSUSE 10.2 (current SO is openSUSE 10.3 x86_64), but the same app work fine in the older openSUSE 10.2 with the same version of MD.

That seems like if MD can't to see GTK#.
Other thing: when I press on References of the project into Solutions Tab, I can see gtk-sharp but when I build the solution I get this error message:

[Task:File=/home/ruben/Proyectos/Borrar/Borrar/MainWindow.cs, Line=2, Column=1, Type=Error, Priority=Normal, Description=The type or namespace name `Gtk' could not be found. Are you missing a using directive or an assembly reference?(CS0246)]

Can any body give me a hand with it?.

Thanks in advance...

--
Rubén D. Guíñez G.
Software Developer
Re: MD and GTK# I can't see version of GTK#
country flaguser name
United States
2007-10-11 12:00:30
On Wed, Oct 10, 2007 at 10:33:06PM -0400, Ruben Guinez
wrote:
>    Hi friends.
>    I have troubles with MD and Gtk#, I don't know what
is going on... but,
>    for example: When I start with new project with Gtk#
support, I can't
>    see the GKT# version supported on the project
definition tab of the
>    MonoDevelop. I am sure the same problem to do that I
get other errors
>    with older applications developed with MD from
openSUSE 10.2 (current
>    SO is openSUSE 10.3 x86_64), but the same app work
fine in the older
>    openSUSE 10.2 with the same version of MD.
>    That seems like if MD can't to see GTK#.

Try removing and re-adding the references to glib-sharp,
gtk-sharp, etc.
MD only recently (iirc) got the ability to load references
by name, as
opposed to by exact assembly version, so if you have
references to gtk#
2.6.0.0 assembly versions, and try to compile with only
2.8.0.0, it
would fail. This is the most common source of errors like
this.

-pete
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )