Framework that is higher than the target and might not load correctly during runtime causing a failure: WebGrease在我从1.3.0.0版本更新WebGrease之前,也发生了同样的事情,我尝试了以下两个程序集绑定,但都没有成功: <assemblyIdentity name="WebGrease" publicKeyToken="31b
我数不清一个问题,在我将WebGrease.dll从1.5.2升级到1.6.0,并部署到azure web角色后,出现了错误"Object reference not set to a instanceof a object“,我已经通过将WebGrease.dll降级到以前的版本解决了这个问题,但我仍然想知道为什么,也许下一次我们必须升级到最新的版本,有人能帮我吗,谢谢。
它在引用中添加了Microsoft.Web.Infrastracture和WebGrease (1.5.2)。System.Web.Optimization.Scripts.Render("~/bundles/js")%>Could not load file or assembly 'WebGreasexmlns="urn:schemas-microsoft-com:asm.v1">