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

今天在发布应用的时候,出来了一个报错: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)。

希望可以帮到大家

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

上一篇:用javascript打造一个简单的小人互殴系统(实现javascript游戏基本要素:生命值、伤害、移动、闪避等)


下一篇:Python 实现 Myapp.exe