HELP! Newbie to .NET 2.0

C

ckkwan

LinkedList<CIncomingMessage> messageList

After installing .NET Fw 2.0 SDK with VS 2003. When I compile the code,
it stills complain about:

XXXX.cs(224): Invalid token '>' in class, struct, or interface member
declaration

May I know what is missing?

Thanks in advance
 
G

Grzegorz Danowski

LinkedList<CIncomingMessage> messageList

After installing .NET Fw 2.0 SDK with VS 2003. When I compile the code,
it stills complain about:

XXXX.cs(224): Invalid token '>' in class, struct, or interface member
declaration

IMHO if you want to use generics you must use VS 2005 (or Express Edition).
 
P

pvdg42

LinkedList<CIncomingMessage> messageList

After installing .NET Fw 2.0 SDK with VS 2003. When I compile the code,
it stills complain about:

XXXX.cs(224): Invalid token '>' in class, struct, or interface member
declaration

May I know what is missing?

Thanks in advance
VS 2003 works with .NET Framework 1.1, *not* 2.0.
The fact that you installed .NET 2.0 has no effect on VS 2003.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Youi cannot use VS 03 to compile code from 2.0. So basically you are using
1.1 and there si no generic in 1.1 hence the error :)

Download the VS'05 express edition


--
Ignacio Machin
machin AT laceupsolutions com


| LinkedList<CIncomingMessage> messageList
|
| After installing .NET Fw 2.0 SDK with VS 2003. When I compile the code,
| it stills complain about:
|
| XXXX.cs(224): Invalid token '>' in class, struct, or interface member
| declaration
|
| May I know what is missing?
|
| Thanks in advance
|
 
G

Guest

LinkedList<CIncomingMessage> messageList

After installing .NET Fw 2.0 SDK with VS 2003. When I compile the code,
it stills complain about:

XXXX.cs(224): Invalid token '>' in class, struct, or interface member
declaration

May I know what is missing?

Thanks in advance

Install VS2005 instead
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top