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
Development machines usually have the SDK installed but on production the runtime only.
Add the following to your .csproj file and publish again.
false