dongfo / autofac

Automatically exported from code.google.com/p/autofac
0 stars 0 forks source link

EFMVC project using Autofac // error when update to ASP.NET (RC) #371

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. using the EFMVC project
2. use ASP.NET MVC4 (RC) packages
3. run project

on the line builder.ConfigureWebApi(configuration); in the bootstrapper.cs file 
I get the following error:

Could not load type 'System.Web.Http.Dispatcher.IHttpControllerFactory' from 
assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35'.

I have the nuget package Autofac ASP.NET MVC4 (Beta) Integration) installed as 
well as the Autofac ASP.NET Web API (Beta) Integration for Autofac package.

Original issue reported on code.google.com by george.d...@gmail.com on 4 Jun 2012 at 3:16

GoogleCodeExporter commented 8 years ago
The previous version of the Web API integration was only for the Beta version. 
A new version of the integration that supports the RC build of Web API has been 
released.

Original comment by alex.meyergleaves on 9 Jun 2012 at 10:39