.net - Error CS0246 when trying to use Gtk# -


i trying build project using gtk#.

i have used gtk# before, , have been using sharpdevelop doing so.

just ... doesn't seem work more:

  • i have installed latest release, gtk# 2.12.26 .net, installer package mono website, have formerly done earlier versions.
  • i have created c# command line application project in sharpdevelop, using c# 3.0 , targetting .net 3.5.
  • i have added gac references project atk-sharp, gdk-sharp, glib-sharp, gtk-sharp, mono.cairo, , pango-sharp.
  • i have added using gtk; main c# file.
  • when write gtk., sharpdevelop's intellisense show types found in gtk namespace.
  • when compile project, compiler aborts following message:

the type or namespace name 'gtk' not found (are missing using directive or assembly reference?) (cs0246)

what missing?

this happens when target .net 3.5. when target .net 4.0, run different problem.

the complete output of compiler (slightly anonymized) reads follows:

build started. warning msb3245: not resolve reference. not locate assembly "mono.cairo". check make sure assembly exists on disk. if reference required code, may compilation errors. warning msb3245: not resolve reference. not locate assembly "pango-sharp". check make sure assembly exists on disk. if reference required code, may compilation errors. warning msb3245: not resolve reference. not locate assembly "gtk-sharp". check make sure assembly exists on disk. if reference required code, may compilation errors. warning msb3245: not resolve reference. not locate assembly "gdk-sharp". check make sure assembly exists on disk. if reference required code, may compilation errors. warning msb3245: not resolve reference. not locate assembly "glib-sharp". check make sure assembly exists on disk. if reference required code, may compilation errors. warning msb3245: not resolve reference. not locate assembly "atk-sharp". check make sure assembly exists on disk. if reference required code, may compilation errors. compiling ... ...\program.cs(3,7) : error cs0246: type or namespace name 'gtk' not found (are missing using directive or assembly reference?) build failed. (00:00:00.1930110) 


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -