net core HTTP Error 502.5 – ANCM Out-Of-Process Startup Failure

Personal blog: Yedajiang44.com/blog
Vs was updated yesterday. When opening the project and running today, it directly reported the following error:

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure
Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681

Solution: just reinstall the corresponding NET Core SDK of the project, and remember to restart!

Read More: