[Gtk-sharp-list] Help me on mono and C# installation

Sebastian scut@nb.in-berlin.de
Tue, 13 Apr 2004 12:06:25 +0800

Hi Xianyong,

On Tue, Apr 13, 2004 at 10:56:45AM +0800, Xianyong Fang wrote:

> I have installed Mono for windows in my computer(My computer is running
> windows 2000 system). Also I installed Cygwin and Gtk#. Mono and Gtk# are
> installed to usr/local in cygwin. But in cygwin, when i change the
> directory to bin in cygwin and input mono, the reply is "bash:mono:
> command not found". So what's wrong with it? And how to tackle it? 
My first guess would be that the PATH variable is probably not pointing to
where mono is installed.

To solve this, you have to enter (at cygwin's bash):

export PATH=$PATH;"C:\Program Files\Mono\bin"

(or whereever your mono is installed). I am not sure if the cygwin shell
under Windows uses ';' or ':' as path seperator, so maybe the above line
should read

export PATH=$PATH:/cygdrive/c/Program\ Files/Mono/bin

instead. You can see which one is correct by running "echo $PATH" and taking
a look at the seperator (; or : characters).

Also, the previous versions of gtk-sharp did not support the global assembly
cache, that means you have to copy all the gtk-sharp .dll files to the
directory you want to run the .exe in.

For some more information how to use gtk-sharp on Windows, please look at


Good luck in getting it to work, if you have any more questions, feel free
to ask.

> Xianyong


   |\      _,,,--,,_  ,)  scut@nb.in-berlin.de, http://segfault.net/~scut/pgp
   /,`.-'`'   -,  ;-;;'   5453 AC95 1E02 FDA7 50D2 A42D 427E 6DEF 745A 8E07
_ |,4-  ) )-,_ ) /\__________________________________________________________
~'---''(_/--' (_/-'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~