mrblah
mrblah

Reputation: 103677

Where is HttpRequestBase?

My solution (which is a copy of another one) is reporting an error because it cannot find HttpRequestBase.

My code has references to system.web and system.web.mvc.

Does this class still exist in MVC 1.0?

Upvotes: 3

Views: 4925

Answers (4)

SendETHToThisAddress
SendETHToThisAddress

Reputation: 3744

For me that error went away after adding an assembly reference to System.Web.

Upvotes: 0

Chance
Chance

Reputation: 11323

You can get the full source code of asp.net MVC from http://www.codeplex.com/aspnet FWIW

Upvotes: 1

John Foster
John Foster

Reputation: 8755

System.Web.Abstractions, you'll also need a reference to System.Web.Routing in an MVC project

Upvotes: 1

LorenVS
LorenVS

Reputation: 12867

I believe this class was part of the System.Web.Abstractions dll. Try adding a reference to that.

Upvotes: 6

Related Questions