I had some monodevelop programs with a GTK# user interface running smoothly in ubuntu 11.04 without unity. I have upgraded to ubuntu 11.10 with unity. Now I get the following error:
"The type or namespace name 'Gtk' could not be found. Are you missing an assembly reference?".
And indeed in my references the references atk-sharp, gdk-sharp, glade-sharp, glid-sharp, stk-sharp and pango-sharp are colored red and I can't re-add them.
If I search in the software to install at gtk-sharp then it tells me Gtk# 2.10 is installed. If I start a new gtk project in monodevelop it gives the same errors.
This issue is due to Mono runtime version. Please change Mono runtime version of the project from Mono/.NET 3.5 to Mono/.NET 4.0 to fix this issue.
For this, please follow the steps as given below: