I have an MVC4 Web API project. While running the service project I am getting an error
Could not load file or assembly \'WebGrease, Version=1.5.1.25624,
This error is because Microsoft.AspNet.Web.Optimization 1.1.3
internally references WebGrease 1.5.1.25624
even though the Nuget package, itself, has a dependency on WebGrease 1.5.2.14234
. Someone clearly messed up while creating the Nuget package.
To solve this, add this assembly binding in your Web.Config
.