[Mono-list] problems with attributes
Parrish M Myers
parrishmyers@yahoo.com
Wed, 12 Feb 2003 13:03:27 -0800 (PST)
Hello,
I have been racking my brain with this one... and I am not sure anyone
has discussed this already, but I don't remember seeing anything.
Does anyone know why I can't compiel the glade test program found in
the mono tutorial:
http://go-mono.com/tutorial/html/en/gnome/bindings/glade/glade.html
I keep getting the error
parrish@Carbon:~/Projects/test$ mcs /unsafe /resource:glade.glade -r
gtk-sharp.dll -r glade-sharp.dll glade.cs
syntax error, expecting BASE BOOL BREAK BYTE CHAR CHECKED CONST
CONTINUE DECIMAL DO DOUBLE FALSE FIXED FLOAT FOR FOREACH GOTO IF INT
LOCK LONG NEW NULL OBJECT RETURN SBYTE SHORT SIZEOF STRING SWITCH THIS
THROW TRUE TRY TYPEOF UINT ULONG UNCHECKED UNSAFE USHORT USING VOID
WHILE OPEN_BRACE CLOSE_BRACE OPEN_PARENS SEMICOLON TILDE PLUS MINUS
BANG BITWISE_AND STAR OP_INC OP_DEC LITERAL_INTEGER LITERAL_FLOAT
LITERAL_DOUBLE LITERAL_DECIMAL LITERAL_CHARACTER LITERAL_STRING
IDENTIFIER
glade.cs(31) error CS1002: Expecting `;'
Compilation failed: 1 error(s), 0 warnings
parrish@Carbon:~/Projects/test$
It seems to be failing on the attribute when attaching the object to
the glade button. Is this a know problem... or is the tutorial wrong?
Thank you for any help.
Parrish
=====
-----------------------------------------------------------
Academia is a little like child | Parrish M. Myers
rearing, it provides a chance at | The Wacked Jester
immortality without the stretch | parrishmyers@yahoo.com
marks -- (unknown source) |
-----------------------------------------------------------
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com