[c#] System.Collections.Generic.. erm, where'd it go?

Caporegime
Joined
18 Oct 2002
Posts
29,493
Location
Back in East London
Hi, using VS2008, .NET 3.5 on Win2k3 (I'm on a rdp terminal) and I don't have System.Collections.Generic.. I need to use Dictionary, which is in this namespace. Er.. no idea where to look for it?!
 
It's definately there on mine. (thoguh I'm not on 2K3)

Nothing comes up if you type System.Collections.Generic. ?
 
Missing mscorlib.dll?

edit: that seems to be for .NET 2.0

Assembly mscorlib
C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
 
Just removed and re-added mscorlib as reference and it's still not there.


hmm.. that's ver 1.5 of mscorlib.dll. Found mscorlib.dll ver2.x and it seems to be corrupt ;/ reinstall time I think :x
 
Last edited:
Have you tried manually right clicking on the project's references then adding it manually?
 
Yeah, it's only v1.5 in the list, and it won't add the v2.x dll manually. I think I found the problem though.. it's not vs2008, it's vs2003 :o
 
Can you see the namespace if you view mscorlib in Reflector?

That should tell you if it's a problem with the dll being corrupt.

EDIT. Just seen the last post, that would probably explain it :p
 
Back
Top Bottom