First off, answers to this question,do NOT solve my error:
Upgrading WebGrease to version 1.3.0 gets me error
I have the following bindingredirect on my prod
Finally figured out why this was not working for me despite other users saying that it was working for them.
I had the following binding redirection in my web.config file to force the System.Web.Optimization assembly to use the newer version instead:
It was just like other users had, but it didn't work. Then I used the fusion log viewer (Fuslogvw.exe) to figure out more information and discovered that the binding process didn't even look at the redirect instruction.
Finally figured out that there must not be an XML namespace on the root ... . If I remove the following from my element it works: xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"
Also, just make sure you have the following XML namespace specified on the element.
Finally!!