title: Error throws using ModelClientValidationRule in MVC 5?
body: <p>I try to do the custom client side validation in MVC 5 Project. When I add the following code: </p>
  
  <pre><code> public IEnumerable&lt;ModelClientValidationRule&gt; GetClientValidationRules(ModelMetadata metadata, ControllerContext context)
   {
      //Some Validation Here
   }
  </code></pre>
  
  <p>I get the following error :</p>
  
  <blockquote>
    <p>The type name 'ModelClientValidationRule' could not be found. This type has been forwarded to assembly 'System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Consider adding a reference to that assembly.</p>
  </blockquote>
  
  <p>But when I check the <code>web.config</code> file, I am using WebPages version supported from 0.0</p>
  
  <pre><code>&lt;assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/&gt;
     &lt;bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/&gt;
  &lt;/dependentAssembly&gt;
  </code></pre>