"fliversen" <fl*******@compuserve.de> wrote in message
news:ch**********@ngspool-d02.news.aol.com...
Hello,
does anyone have successfull experience with mono on Windows.
I have download
mono-1.0.1-gtksharp-1.0-win32-0.5.exe
But to compile und run programs whitch use Gtk# is not possible:
The result is
error CS0006: Cannot find assembly `gtk-sharp.dll'
error CS0006: Cannot find assembly `glib-sharp.dll'
Does anyone know which environment variables are necessary ?!
Thanks a lot.
Frank Iversen
Most of the tools in the bin folder were not updated with the correct path
prior to shipping between 1.0 and 1.0.1.
On UNIX/Linux you could use the magic of symbolic links to fix this in a
jiffy. On Windows, I just made a directory to match the one the tools are
looking for. I tried uninstalling and installing to that directory but this
resulted in files in the wrong places. Just do this at the command prompt
and it will work:
C:\> mkdir C:\mono\Mono-1.0
C:\> cd mono\Mono-1.0
C:\mono\Mono-1.0> xcopy "C:\Program Files\Mono-1.0.1\"*.* /s
Also set MONO_PATH and MONO_CFG_DIR environment variables.
Oh, you could also edit all the tools manually or if you use Cygwin and know
how to use sed and a few other such tools then you could do a batch edit. MS
Word probably even has a handy way to do this.
Dilton