最近使用VS2015调试ASP.NET 程序遇到了该问题:

解决方法:Could not load file or assembly 'WebGrease, Version=1.5.1.25624, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

在网上找了很多方法都不能解决,最后自己解决了,方法如下:

在project -> NuGet管理中找到已安装的所有程序:将Web Optimization程序包的版本更改为更低的V1.0版本即可。

解决方法:Could not load file or assembly 'WebGrease, Version=1.5.1.25624, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

现在程序可以正常运行了。

相关文章:

  • 2021-07-08
  • 2022-12-23
  • 2022-03-07
  • 2021-08-13
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2021-09-21
  • 2021-12-16
  • 2022-12-23
  • 2021-07-29
  • 2021-09-02
相关资源
相似解决方案