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

前端 未结 9 568
长发绾君心
长发绾君心 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:51

    I got this error while running Scaffold-DbContext command on the Library project.

    Solution:

    1. Remove the Azure Function project from the solution, and then run this command.
    2. After that, use add an existing project feature to add the Azure Function project again in the solution.

提交回复
热议问题