Reputation: 103677
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
Reputation: 3744
For me that error went away after adding an assembly reference to System.Web.
Upvotes: 0
Reputation: 11323
You can get the full source code of asp.net MVC from http://www.codeplex.com/aspnet FWIW
Upvotes: 1
Reputation: 8755
System.Web.Abstractions, you'll also need a reference to System.Web.Routing in an MVC project
Upvotes: 1
Reputation: 12867
I believe this class was part of the System.Web.Abstractions dll. Try adding a reference to that.
Upvotes: 6