[Mono-list] vbnc

Andreas Färber andreas.faerber at web.de
Wed May 16 14:12:08 EDT 2007


Hi Jorge,

> with the latest 1.2.4 i tryed vbnc with:
>
>  cat as.aspx
> <%@ Page Language="vb" %>
> <% response.write("hi there its me!") %>
>
> i have:
>
> vbnc as.aspx
> Visual Basic.Net Compiler version 0.0.0.5058
> Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.
>
>
> /home/alojamento/albergaria.org/asp/as.aspx (1,3) : Error  
> VBNC30037: Symbol is not valid.
> /home/alojamento/albergaria.org/asp/as.aspx (1,3) : Error  
> VBNC30037: Symbol is not valid.
> /home/alojamento/albergaria.org/asp/as.aspx (1,19) : Warning  
> VBNC90019: Expected '>'.
> Error recovery not implemented yet.
> Unexpected error: An error message should have been shown: 'Hanging  
> attributes.'
>   at vbnc.Helper.AddError (System.String Message) [0x00000]
>   at vbnc.Parser.ParseAssemblyMembers (vbnc.AssemblyDeclaration  
> Parent, System.String RootNamespace, vbnc.MemberDeclarations  
> result) [0x00000]
>   at vbnc.Parser.ParseAssemblyDeclaration (System.String  
> RootNamespace) [0x00000]
>   at vbnc.Parser.Parse (System.String RootNamespace) [0x00000]
>   at vbnc.Compiler.Compile_Parse () [0x00000]
>   at vbnc.Compiler.Compile () [0x00000]
> Compilation took 00:00:03.0171260
>
> shouldn't this work?

It should not show the exception, so you might want to file a bug  
report against vbnc for doing so (on the other hand "not implemented  
yet" indicates the authors might already be aware).

But you are trying to compile an ASP.NET page - I don't think this  
was supposed to work. Try using a pure Visual Basic .NET source file  
and see if that works.

Andreas


More information about the Mono-list mailing list