[Gtk-sharp-list] Developing with Monodevelop, running at Windows

Jaroslav Šmíd jardasmid at gmail.com
Mon Nov 10 12:44:45 EST 2008


Are Gtk# assemblies (2.12) in MONO_PATH environment variable? I think 
that Gtk# installer registers assemblies only with dotnet. Besides the 
site you are refering to only contains 2.10 version. I suggest using 
version available from http://bzr.medsphere.com/~cody/installers/ (2.12.3).

edows wrote:
> Hi!
> I'm learning C# and GTK# using Monodevelop at Debian and I'd like to run my
> own little GTK# applications at Windows (Unfortunately, using GNU/Linux OS
> is not as frequent as we would like).
> I'd searched at forum posts and I found similar problems, but the replies
> I'd read didn't help me, so I don't have another way than posting, sorry...
> 
> I'd already tried to install GTK 2.0 packages from 
> http://sourceforge.net/project/showfiles.php?group_id=74626&package_id=223067
> here  and to add the "bin" folder at GTK's installation path to the PATH
> environment variable. Obviously, it didn't work.
> 
> I have also tried to run it typing "mono *applicationfilename*" on CMD
> console to ensure that I'm using Mono and not MS .NET Framework, but it
> returns this error:
> 
> ** (PruebaGTK.exe:2336): WARNING **: The following assembly referenced from
> D:\svn\PruebaGTK\PruebaGTK\bin\Debug\PruebaGTK.exe could not be loaded:    
> Assembly:   gtk-sharp    (assemblyref_index=2)     Version:    2.12.0.0    
> Public Key: 35e10195dab3c99fThe assembly was not found in the Global
> Assembly Cache, a path listed in the MONO_PATH environment variable, or in
> the location of the executing assembly (D:\Mis Documentos\ESS\Cosas de
> clase\svnedu\PruebaGTK\PruebaGTK\bin\Debug\).** (PruebaGTK.exe:2336):
> WARNING **: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0,
> Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its
> dependencies.Unhandled Exception: System.IO.FileNotFoundException: Could not
> load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral,
> PublicKeyToken=35e10195dab3c99f' or one of its dependencies.File name:
> 'gtk-sharp, Version=2.12.0.0, Culture=neutral,
> PublicKeyToken=35e10195dab3c99f'
> 
> I don't want to try Windows Forms or running by emulation, I'm looking for
> something easy to share and run for normal users (or "dummies") :-P.
> 
> I'll be waiting your replies. Thanks.
> 
> P.D.: Sorry if there's something that you can't understand, I'm not a great
> English speaker ;-)


More information about the Gtk-sharp-list mailing list