HRESULT: 0x80131040: The located assembly's manifest definition does not match the assembly reference

后端 未结 19 2454
庸人自扰
庸人自扰 2020-12-02 19:27

The located assembly\'s manifest definition does not match the assembly reference

getting this when running nunit through ncover. Any idea?

19条回答
  •  遥遥无期
    2020-12-02 20:09

    In my case it was happening because of WebGrease. I updated it to the latest version (using NuGet) but it was conflicted with the dependencies. I manually added the below code in web.config and it worked as a charm.

    
        
        
    
    

    Please note my solution will only work when the error is related to WebGrease. The error code will remain the same. Also, you need to change the version in oldVersion and newVersion accordingly.

提交回复
热议问题