2017-02-09 153 views
2

我有一个ASP.Net Web API的项目。 由于我添加了一个上传和下载文件的方法,得到一个奇怪的错误。“System.ServiceModel.Primitives” - 未找到程序集或未找到依赖项

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) 

如果我得到一个repo的知道副本,错误不会发生大约一个小时。任何人都可以帮忙吗?

回答

0

请检查ASP.NET Web api项目引用System.ServiceModel.Primitives dll。请删除参考,然后添加并重新构建解决方案并尝试。