[MonoDevelop] Gtk.Window could not be loaded with Monodevelop 2.4 on Ubuntu 11.04
mdkrajnak
mdkrajnak at gmail.com
Wed Sep 21 18:56:29 EDT 2011
I've installed a "stock" Monodevelop 2.4 and gtk-sharp 2.12 using the Ubuntu
(11.04) package manager.
I created a solution with a simple app from a gtk sharp tutorial (source at
the end) and get the following warnings when I try to run the program:
** (~/dev/gtk-sharp/gtk-sharp/bin/Debug/gtk-sharp.exe:1876): WARNING **: The
class Gtk.Window could not be loaded, used in gtk-sharp, Version=2.12.0.0,
Culture=neutral, PublicKeyToken=35e10195dab3c99f
Loaded assembly:
/home/doshigatai/dev/gtk-sharp/gtk-sharp/bin/Debug/gtk-sharp.exe
** (~/dev/gtk-sharp/gtk-sharp/bin/Debug/gtk-sharp.exe:1876): WARNING **: The
class MainWindow could not be loaded, used in gtk-sharp,
Version=1.0.4263.43145, Culture=neutral, PublicKeyToken=null
And no window appears.
I'm completely new to the mono environment, but otherwise pretty comfortable
with working under Linux. I have not been able to successfully find
something I can use searching this list or more broadly.
Any help would be appreciated.
Thanks!
Source code:
using System;
using Gtk;
namespace gtksharp
{
class MainClass
{
public static void Main (string[] args)
{
Application.Init ();
MainWindow win = new MainWindow ();
win.Show ();
Application.Run ();
}
}
}
--
View this message in context: http://mono.1490590.n4.nabble.com/Gtk-Window-could-not-be-loaded-with-Monodevelop-2-4-on-Ubuntu-11-04-tp3831815p3831815.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list