[Gtk-sharp-list] Error on first steps with mono and GTK at all
m.j.hutchinson at gmail.com
Tue Nov 7 04:43:31 EST 2006
On 11/4/06, phrenchy at gmx.ch <phrenchy at gmx.ch> wrote:
> Hello all,
> please have a look at the error message below.
> It´s frustrating when even such easy code doesn´t work out of the box.
> I guess it´s an environment variable problem or so.
I mostly use Linux now so I can't really give any details of how to
fix the problem, but I can try to give you some pointers.
It looks the the GTK# assemblies have been installed in the Mono
Runtime's GAC, but you are running the executables with Microsoft's
.NET Runtime. You need either to
1) install a version of GTK# that installs into the .NET GAC, or
2) run the exes with the Mono Runtime, i.e. "mono helloworld.exe".
IIRC the installer puts a shortcut in the start menu for a console
with the Mono environment set up properly.
More information about the Gtk-sharp-list