[mono-vb] New to mono basic (vbnc) need help compiling source.

Rolf Bjarne Kvinge rolflists at ya.com
Mon Nov 17 05:22:11 EST 2008


Hi,

> http://www.nabble.com/file/p20525397/Voyager1.vb Voyager1.vb
> 
> How do I compile this with vbnc!!!
> I've been to the Mono and MSDN sites for compiling vb.net source code
> where it says: vbnc(vbc) [options], (Program)
> The Mono Book I have writes
> "vbnc /r:$MONODIR/Path/To/Mono/Libs"
> Which works if you only need to include one lib , but how do I tell it
> also use another Simply Put, when I compile
> vbnc /r$MONODIR/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
/r:$MONODIR/usr/lib/mono/gecko-sharp-2.0/gecko-sharp.dll Voyager1.vb
> It will find the Gtk-sharp libs, but not the Gecko-sharp ones, then if I
> reverse it and put the Gecko Libs first, it finds them but loses the Gtk
Libs.

You should be able to put multiple /r: arguments, if not it's a bug in the
compiler.

In any case you can separate dlls with commas:

vbnc
/r:$MONODIR/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll,$MONODIR/usr/lib/mono/g
ecko-sharp-2.0/gecko-sharp.dll (...)

Rolf

> 
> Any Help would be most appreciated!!!:-D
> --
> View this message in context: http://www.nabble.com/New-to-mono-basic-
> %28vbnc%29-need-help-compiling-source.-tp20525397p20525397.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb



More information about the Mono-vb mailing list