我最近开始在我的 .NET 4.5 MVC 应用程序中遇到以下错误:
Could not load file or assembly 'EntityFramework' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
这怎么可能发生?我已经检查了 EntityFramework.dll 的有效性(使用 sn.exe -v)并且还使用 NuGet Packet 管理器重新下载了它......但仍然无济于事。
我该如何克服呢?