The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.

Cenk 1,036 Reputation points
2023-01-22T14:16:04.4966667+00:00

Hi,

I have an ASP.NET Core 2.1 web application. Today when I try to debug I got this error. I just made new additions last week, it was working without any problems. What is wrong with it?

The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.

Thank you.

Developer technologies | ASP.NET | ASP.NET Core
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
    2023-01-22T19:38:48.4966667+00:00

    core 2.1 has been out of support for a long time. maybe your hosting environment no longer supports it.

    you should upgrade to a supported version. .net 6 LTS being the lowest possible.

    0 comments No comments

  2. Anonymous
    2025-01-30T10:25:19.01+00:00

    User's image

    The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.

    The program '[13496] WebApplication3.exe' has exited with code 2147516566 (0x80008096).

    I am still getting above issue

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.