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

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Oct 14 18:33:32 EDT 2003


El mar, 14-10-2003 a las 18:08, A Rafael D Teixeira escribió:
> 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"
> >/r:"/home/gpanjav/go-mono/xsp/test/bin/codebehind1.dll"
> >/r:"/home/gpanjav/go-mono/xsp/test/bin/extensions.dll"
> >/r:"/home/gpanjav/go-mono/xsp/test/bin/tabcontrol2.dll"
> >/r:"/home/gpanjav/go-mono/xsp/test/bin/tabcontrol.dll"
> >"/tmp/tmp55894cc2.vb"
> >-------------------------
> >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.

That's what is passed to mbas when run using Process. I tried that line
from bash and it failed too.

> 
> >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/codebehind1.dll" 
> /r:"/home/gpanjav/go-mono/xsp/test/bin/extensions.dll" 
> /r:"/home/gpanjav/go-mono/xsp/test/bin/tabcontrol2.dll" 
> /r:"/home/gpanjav/go-mono/xsp/test/bin/tabcontrol.dll" -- 
> "/tmp/tmp55894cc2.vb"
> 
> Has no problem with the source file name. And *mcs* also supports it.

Mcs also supports that exact command line.

> 
> 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 ?

No, mbas -debug. It fails in some Mono.Debugger code.

> 
> 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.

You're welcome.

I will gladly help you in any issue that you may have regarding to
unimplemented features in our class libraries or whatever.

Thanks!

-Gonzalo





More information about the Mono-devel-list mailing list