Search code examples
c#asp.net-core-2.2

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure after upgrading to ASP.NET Core 2.2


After upgrading my project to ASP.NET Core 2.2, I tried to run the application (locally of course) and the browser displayed an error message like in the below screenshot.

enter image description here

no more errors notified by visual studio error explorer. I don't know what's happen.


Solution

  • My solution:

    • remove all projects with catalog
    • create new projects
    • copy all files but program.cs and startup.cs
    • manual copying from startup and program classes to new startup.cs and new program.cs

    Works.