This is my first time using MonoDevelop, I want to add at icon to a new project, in C# with Gtk# 2.0. Everything is fine until adding an icon either via stetic or directly in the code, as below:
public partial class MainWindow : Gtk.Window {
public MainWindow() : base(Gtk.WindowType.Toplevel) {
this.Icon = new Gdk.Pixbuf(System.Reflection.Assembly.GetEntryAssembly(),
"Icon.png", 32, 32 );
this.Build();
}
...
}