今天在发布应用的时候,出来了一个报错:An assembly specified in the application dependencies manifest was not found

情况如下图

Asp.NET Core 在IIS部署 An assembly specified in the application dependencies manifest was not found

后来找了一下原因:

(划重点)是因为给我打包的同事,他电脑上的SDK还是2.0.9的版本,但是我在服务器上装的是最新的.NET Core2.1.4,所以用 2.0.9打出来的包没办法在2.1.4的环境下运行

所以我把代码同步过来之后用我的机器重新打了个包问题就解决了(我机器的SDK是2.1.4)。

希望可以帮到大家

相关文章:

  • 2022-12-23
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-05-29
  • 2021-10-15
  • 2021-10-21
猜你喜欢
  • 2021-08-10
  • 2022-12-23
  • 2021-10-08
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案