Could not load file or assembly 'WebGrease' one of its dependencies. The located assembly's manifest definition does not match the assembly reference

前端 未结 8 1582
终归单人心
终归单人心 2021-01-03 22:52

This issue has many solutions, please read all answers below, they might help you solve your problem too. If you find a new way to solve this, please document in you

8条回答
  •  醉酒成梦
    2021-01-03 23:22

    Just in case it helps anybody, I had the same issue, but found it was caused by a dependent assembly of WebGrease, namely Antlr3. It had added the following to runtime element in web.config when installing via NuGet:

      
        
        
      
    

    Simply removing this fixed my issue.

提交回复
热议问题