Dumb me, You're right! It works within the browser. Is the 1.1 version fully working?
----- Original Message ----- From: "Andreas Färber" <[EMAIL PROTECTED]> To: "Jorge Bastos" <[EMAIL PROTECTED]> Cc: <Mono-list@lists.ximian.com> Sent: Wednesday, May 16, 2007 7:12 PM Subject: Re: [Mono-list] vbnc > 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 > _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list