[Mono-devel-list] VB.NET support in xsp and mbas problems

A Rafael D Teixeira rafaelteixeirabr at hotmail.com
Tue Oct 14 12:08:25 EDT 2003

Gonzalo wrote:

>While testing VB.NET, I've encountered some problems related to
>arguments processing.

>Passing a command line like this (the same is passes to mcs):
>mbas /target:library /out:"/tmp/tmp4c131efd.dll" /r:"System.dll"
>/r:"System.Xml.dll" /r:"System.Data.dll" /r:"System.Web.dll"
>/r:"System.Web.Services.dll" /r:"System.Drawing.dll"
>makes mbas misinterpret the quotes and then everything is messed up.

In the shell I could not reproduce it, as the quotes are preprocessed by it. 
I'll have to work a bit more on that.

>If I remove the quotes and only leave the .vb file + the standard
>assemblies, it fails on the file name /tmp/tmp55894cc2.vb saying that it
>cannot find directory "-tmp". Mono.GetOptions is to blame for this.

I thought we have agreed on using the "--" as the stop processing parameters 
symbol, to avoid the dubiousness of "/" possibly being either the start of a 
parameter or of a filename...

mbas  /target:library /out:"/tmp/tmp4c131efd.dll" /r:"System.dll" 
/r:"System.Xml.dll" /r:"System.Data.dll" /r:"System.Web.dll" 
/r:"System.Web.Services.dll" /r:"System.Drawing.dll" 
/r:"/home/gpanjav/go-mono/xsp/test/bin/tabcontrol.dll" -- 

Has no problem with the source file name. And *mcs* also supports it.

I'll try to make Mono.GetOptions more adept at dealing with this duality.
But if you can use "--" for now it would make things advance a bit...

>If I use the -debug option, it crashes.

mono -debug ?

I'll continue to work on the rest.

Thanks Gonzalo, for advancing vb.net on our asp.net. I need more of those 
reports to really make mbas better.

Happy hackings,

Rafael Teixeira
Brazilian Polymath
Mono Hacker since 16 Jul 2001
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/

MSN Messenger: instale grátis e converse com seus amigos. 

More information about the Mono-devel-list mailing list