“The Type or Namespace ‘GTK’ could not be found” error – MonoDevelop on Linux

“The Type or Namespace ‘GTK’ could not be found” error – MonoDevelop on Linux

MonoDevelop 3.0.6
GTK# 2.12
openSuse 13.1

When you press F5 to build and get this error in MonoDevelop, just go to:

Project -> Your Project name Options -> Build -> General

You probably see:

Target Framework: Mono /.Net 3.5

Change it to:

Target Framework: Mono /.Net 4.0

Do all what MonoDevelop wants from you. Now, your project has no errors during building.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s