title: MissingMethodException FileExistenceCache with MVC 5.1
body: <p>i'm trying to upgrade from MVC 5.0 to MVC 5.1.</p>
  
  <p>In my global.asax i have the following line :</p>
  
  <pre><code>ViewEngines.Engines.Clear();
  ViewEngines.Engines.Add(new WebSiteViewEngine(ConfigurationManager.AppSettings["ModulesPath"]));
  </code></pre>
  
  <p>The first line throw an exception 
  System.MissingMethodException:
  Méthod not found : 'Void System.Web.WebPages.FileExistenceCache..ctor(System.Func`1, Int32)'.</p>
  
  <p>In my web config</p>
  
  <pre><code>&lt;appSettings&gt;
          &lt;add key="webpages:Version" value="3.0.0.0" /&gt;
          &lt;add key="webpages:Enabled" value="false" /&gt;       
   &lt;/appSettings&gt;  
  
  &lt;runtime&gt;
          &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
              &lt;probing privatePath="modules/bin" /&gt;
              &lt;dependentAssembly&gt;
                  &lt;assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /&gt;
                  &lt;bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" /&gt;
              &lt;/dependentAssembly&gt;
              &lt;dependentAssembly&gt;
                  &lt;assemblyIdentity name="Microsoft.Practices.Unity" publicKeyToken="31bf3856ad364e35" culture="neutral" /&gt;
                  &lt;bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /&gt;
              &lt;/dependentAssembly&gt;
              &lt;dependentAssembly&gt;
                  &lt;assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /&gt;
                  &lt;bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /&gt;
              &lt;/dependentAssembly&gt;
              &lt;dependentAssembly&gt;
                  &lt;assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /&gt;
                  &lt;bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /&gt;
              &lt;/dependentAssembly&gt;
              &lt;dependentAssembly&gt;
                  &lt;assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /&gt;
                  &lt;bindingRedirect oldVersion="1.0.0.0-5.1.0.0" newVersion="5.1.0.0" /&gt;
              &lt;/dependentAssembly&gt;            
          &lt;/assemblyBinding&gt; 
      &lt;/runtime&gt;
  </code></pre>
  
  <p>i'm using System.web.mvc 5.1.20129.0
  System.Web.WebPage 3.0.20129.0</p>
  
  <p>any ideas why this error occured ?</p>