While upgrading WebGrease
to version 1.3.0
gets me error:
Could not load file or assembly 'WebGrease, Version=1.0.0.0, 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)
Source Error:
Line 6: <title>@ViewBag.Title</title>
Line 7: @Styles.Render("~/Content/bundles/bootstrap")
How to resolve this error.
System.Web.Optimization
assembly to instead bind to the newer version. But for some users it didn't work - including me. I figured out that the binding redirection in the web.config was being ignored. See my answer in this post on how to fix that. stackoverflow.com/questions/16866676 – Busterbustle