I Install .NET core version 2.1.3 for my new computer run window server 2016 OS. I hosted in IIS 10. But it have Error 502
HTTP Error 502.5 - Process Failure Co
The is a situation that if you use:
Env: Windows Server OS, .NET Core Hosting Bundle(including runtime), IIS, Asp.Net.Core
You could add a element as follows into {YourProject}.csproj file:
false
Ref: https://github.com/dotnet/coreclr/issues/13542