While upgrading WebGrease to version 1.3.0 gets me error:
Could not load file or assembly \'WebGrease, Version=1.0.0.0, Cult
For a Web API project I'm working on what really worked was the following:
Open NuGet package manager, click in Installed packages and then uninstall Microsoft.AspNet.Web.Optimization. It prompts it'll remove WebGrease 1.1.0. Hit Yes.
Now reinstall it clicking NuGet's Online tab and search for Microsoft.AspNet.Web.Optimization.
Now everything is working as expected.