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

前端 未结 9 571
长发绾君心
长发绾君心 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 17:08

    Development machines usually have the SDK installed but on production the runtime only.

    Add the following to your .csproj file and publish again.

                   
        false
    
    

提交回复
热议问题