[Mono-list] mbas error

beniniva at csr.unibo.it beniniva at csr.unibo.it
Sat Nov 12 10:31:25 EST 2005


Hi,
I'm trying to compile a simple code Prova.aspx.vb, but I get this error:

[root at localhost Desktop]# mbas /t:library /out:Prova.dll Prova.aspx.vb
MonoBASIC Compiler  0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
--------
THIS IS AN ALPHA SOFTWARE.
--------
syntax error, got token `IDENTIFIER'
Prova.aspx.vb(2,7) error BC29999: Parsing error
Compilation failed: 1 Error(s), 0 warnings

---------------Prova.aspx.vb----------------------------------------
Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click

        Label1.Visible = True

        Label1.Text = "Hai cliccato il bottone"

    End Sub
End Class
-------------------------------------------------------------------
Why?

How I can compile this file?

thank's,

Valentina.


More information about the Mono-list mailing list