asp.net mvc - Autofac doesn't like MVC Source -


I've added the ASP.NET MVC2 RC2 source code in my solution (using these instructions :) But now it has not been created due to an error from 'Autofac.

  The type 'System.Web.Mvc.IControllerFactory' is defined in the assembly that is not referenced. You must add a reference to the assembly 'System.web.mvc, version = 1.0.0.0, culture = neutral, public keycon = 31bf3856ad364e35'.  

I'm particularly confused about the MVC version 1. Before adding MVC source code, I was using MVC 2 (from binary) and was not complaining about Autofack.

Autofac.Integration.Web assembly reference System.Web.Mvc You do not say that the AutoFac , But if you're happy to use Autofack version 2 (currently Beta), there is a build available on the net. See for details.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -