An assembly specified in the application dependencies manifest (…) was not found

前端 未结 9 551
长发绾君心
长发绾君心 2020-12-23 16:38

I upgraded Microsoft.AspNetCore from 2.0.3 to 2.0.5 and my WebAPI project, although running successfully locally, fails to start in production (IIS). Everything was fine in

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 16:49

    I had this error however my solution was somewhat different from what was posted above. My problem was that I was deploying via a zip file and while building the zip file I wasn't including sub directories therefore required files were not being included.

    So if you are publishing via a zip file make sure to include all sub folders while building the zip.

提交回复
热议问题