【问题标题】:"System.ServiceModel.Primitives"- assembly not found or dependecy not found“System.ServiceModel.Primitives”- 未找到程序集或未找到依赖项
【发布时间】:2017-02-09 15:49:05
【问题描述】:

我有一个带有 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)

如果我得到一份已知的 repo 副本,则该错误不会在大约一个小时内发生。有人可以帮忙吗?

【问题讨论】:

    标签: c# asp.net .net-assembly


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-03-17
      • 2019-02-24
      • 2021-06-16
      • 2017-09-18
      • 2013-08-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多