[mono-vb] VBNC with multiple vb files

Rolf Bjarne Kvinge rolflists at ya.com
Wed Mar 3 19:45:50 EST 2010


Hi,
 
> 
> Hi,
> 
> Looking for help......
> 
> 
> 1) I am using Visual Studio 2003 which is the best version to use with
> VB & Mono?

Anything <= VS 2005 (since Mono only supports VB8, which came with VS 2005)

> I had to edit my solution files to include a Sub Main() to make the
> project compile and run ok.
> 
> 2) What is the best way to compile a solution with multiple vb modules?
> 
> I presume you need to create a kind of makefile.bat like in the old
> days.
> 
> I guess there must be a kind of compile and link phase.....
> 
> Are thee any examples VBNC.exe batch files/command lines parameters
> posted anywhere?

Vbnc.exe takes the same command line parameters as vbc.exe, here are a few
samples: http://msdn.microsoft.com/en-us/library/4dehewf5.aspx - just use
vbnc instead of vbc.

To compile several files at once, just do:

vbnc file1.vb file2.vb -out:myprogram.exe

When you build a project in Visual Studio, you'll also get the command line
to vbc in the output window.

Rolf

> 
> Thanks in advance for your input,
> 
> 
> 
> 
> 
> -----
> InTheDark
> 
> Also known as Nick
> --
> View this message in context: http://n4.nabble.com/VBNC-with-multiple-
> vb-files-tp1577054p1577054.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