How to fix "The target process exited without raising as 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"

Faisal suleman 0 Reputation points

User's image

My application console application is build on .net core 7 and gave error when running on docker container, several other console applications running properly but one gave problem. Docker container logs given below:
User's image

Targer OS is linux. I have tried delete docker image, tried delete project and create new problem still retain. Please note that other console applications developed on .net core 7 running properly the new one gave problem that recently added.

A set of technologies in the .NET Framework for building web applications and XML web services.
2,603 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Laura Mateus 0 Reputation points

    I'm also getting the same error. Any suggestion? ThanksUser's image

    No comments

  2. Bruce ( 28,281 Reputation points

    I would guess you are pulling a docker container without the core runtime installed. show your docker file