[Gtk-sharp-list] New Monodevelop GTK# 2.0 project multiple errors?
Wayne Johnson
sausage at zeta.org.au
Wed Nov 16 00:24:54 EST 2005
Hello all,
I have just upgraded all packages to the new mono 1.1.10, and it seems that my
old projects are all dying. Using monodevelop, I started a new GTK# 2.0 C#
Project to perform a clean test and I receive the following four pop up errors
while compiling within monodevelop:
gtk-sharp, Version=2.4.0.0, Culture=neutral, PublicTokenKey=35e10195dab3c99f
could not be found or is invalid.
gdk-sharp, Version=2.4.0.0, Culture=neutral, PublicTokenKey=35e10195dab3c99f
could not be found or is invalid.
glade-sharp, Version=2.4.0.0, Culture=neutral, PublicTokenKey=35e10195dab3c99f
could not be found or is invalid.
pango-sharp, Version=2.4.0.0, Culture=neutral, PublicTokenKey=35e10195dab3c99f
could not be found or is invalid.
and the following two compiler task output errors:
--------------------------------------------------
[Task:File=/work/mono/test2/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)
[Task:File=/work/mono/test2/MyWindow.cs, Line=2, Column=7, Type=Error,
Description=The type or namespace name `Gtk' could not be found. Are you
missing a using directive or an assembly reference?(CS0246)
It looks almost obviously something to do with the references being perhaps out
of date or wrong versions? I basically downloaded and rpm -Uvh 'ed everything
so I am guessing I have stale config files about the place but I'm not sure
where to look. I did manage to fix a monodevelop display issue by removeing my
~./config/Monodevelop directory, but I'm sure there are many other configs
somewhere.
As a final piece of info, the build output says:
------------------------------------------------
Building Solution test2
Building Project: test2 Configuration: Debug
Performing main compilation...
Try using -pkg:gtk-sharp
Try using -pkg:gtk-sharp
Compilation failed: 2 error(s), 0 warnings
/work/mono/test2/MyWindow.cs(2,7): error CS0246: The type or namespace name
`Gtk' could not be found. Are you missing a using directive or an assembly
reference?
/work/mono/test2/MyWindow.cs(2,1): error CS0246: The type or namespace name
`Gtk' could not be found. Are you missing a using directive or an assembly
reference?
Build complete -- 2 errors, 0 warnings
---------------------- Done ----------------------
Build: 2 errors, 0 warnings.
If anyone could lend a hand here, I would greatly appeciate it.
More information about the Gtk-sharp-list
mailing list