Problem I was getting below error when I moved System.Web.Optimization to the new version.
System.IO.FileLoadException: Could not load file or assembly 'WebGrease, Version=1.5.1.25624, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Solution The solution of this problem was very simple, just change the version of the WebGrease assembly to below. Notice the newVersion attribute and old version attribute of bindingRedirect tag.
I just replaced the current version with "1.5.2.14234".
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Thanks
Regards,
Sheo Narayan
http://www.dotnetfunda.com