After I upgraded the ASP MVC 3 application from beta to the candidate for realease, I encountered this error:
{"Method not found: 'Void System.Web.Mvc.GlobalFilterCollection.Add(System.Object, System.Nullable`1<Int32>)'."}
The error is Global.asaxinside this code:
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RegisterGlobalFilters(GlobalFilters.Filters);
RegisterRoutes(RouteTable.Routes);
}
Here is my RegisterGlobalFilters()
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
Here are the details of my System.Web.MVC.dll:

The System.Web.MVC.dll file is actually missing from the build folder, should it be here?

Here is a screenshot of all the MVC applications installed on my computer, the beta version was not programmed before I did a new RC installation, I also installed it through the Microsoft Web Platform installer, so I think everything should be fine:

Anyone got it?
source
share