我有一个带有ASP.Net Web api的项目。 由于我添加了一个上传和下载文件的方法,因此出现了一个奇怪的错误。
The file or assembly "System.ServiceModel.Primitives" or a dependency thereof was not found. The signature with a strong name could not be verified. The assembly may have been modified or delayed, but not fully signed with the correct private key. (Exception of HRESULT: 0x80131045)
如果我得到了一份知道的回购副本,那么错误不会发生大约一个小时。有人可以帮忙吗?
答案 0 :(得分:0)
请检查ASP.NET Web api项目参考System.ServiceModel.Primitives dll。请删除引用,然后添加并重新构建解决方案并尝试。