I am working on a project where I have a C# class library which needs to use the System.web.HttpContext
. I\'ve done this before in another project without probl
Just to add some input incase someone else gets hung up on this. If you are in a Unit test project or a Class Library that links back to an MVC project, you may have references to System.Web.Mvc. This DOES NOT INCLUDE System.Web. You must add both if you need something Mvc specific (like a SelectList) AND HttpContext
Despite your comment that you've added reference to System.Web to the project it is still most likely reason of what you are seeing.
The classes you see are coming from System.Dll, not System.Web.Dll.
This means that either you are using a Client Profile as the Target Framework or the reference to System.Web was not added correctly.