.NET Core5 MVC/WebAPI – HTTP Error 500.30 – ASP.NET Core app failed to start

There are no errors in the program. Visual studio runs normally, but it is 500

journal

Two new exception logs will be found in the Event Viewer each time it is opened

First: application '/ LM/W3SVC/2/root' with physical root Project path failed to load coreclr. Exception message: CLR worker thread exited prematurely

Second: application '/ LM/W3SVC/2/root' with physical root Project path has exited from program. Main with exit code = '0'. Please check the stderr logs for more information.

Solution

Check the newly created class/file , and see if there is only one line of in their references symbol

I can access it normally after removing it... This is very confusing --

Similar Posts: