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

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Oct 14 07:42:58 EDT 2003


Hi!

I've just added support for other languages than C# to ASP.NET.

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.

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.

If I use the -debug option, it crashes.

After this, if I compile in /tmp directory and use tmp55894cc2.vb as the
file name, it says:
syntax error, expecting BINARY CLASS COMPARE CONST DEFAULT DIM END ENUM
EVENT EXPLICIT FRIEND FUNCTION MUSTINHERIT MUSTOVERRIDE NOTOVERRIDABLE
OFF OVERLOADS OVERRIDABLE OVERRIDES PRIVATE PROPERTY PROTECTED PUBLIC
READONLY SHARED SUB TEXT WITHEVENTS WRITEONLY OP_LT IDENTIFIER
Line:     29 Col: 17
VirtLine: 29 Token: 320   : Parsing error in tmp55894cc2.vb
tmp55894cc2.vb(29) error BC9999:

I've attached the file for the VB.NET people to have something to test
with.

Once this issues are fixed, we will be able to start serving VB.NET
pages with xsp!

-Gonzalo





More information about the Mono-devel-list mailing list