【发布时间】:2015-05-20 12:36:43
【问题描述】:
我正在使用 github 在一个小组中开展一个项目,它是一个 asp.net mvc 项目。我的小组中没有其他人对此有任何问题,但是当我尝试将服务器运行到我们网站的主页时,我收到错误:
Could not load file or assembly 'Microsoft.Owin.Security' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Owin.Security' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
我已经尝试在 Nuget 中安装每个这样出现的包,但有些文件似乎不是包或具有明显的包名称。我也尝试使用包管理器来安装这些包,但这似乎也不起作用。删除整个项目并重新克隆它不起作用,重新安装 Visual Studio 也不起作用。有什么办法可以解决这个问题吗?
【问题讨论】:
标签: c# asp.net-mvc visual-studio nuget asp.net-identity