Visual Studio 2019 Unable to start program, the system cannot find the file specified

slipbits 16 Reputation points

VS 2019 Version 16.11.1

I was suggested that my question should be separated from similar questions.

Debug/<program name>.exe
Clean build/rebuild
No build errors (0 warning, 0 errors)
Main function exists
Tools->options are as specified in answers to similar questions

Compilation/build/rebuild successful for several months. Copying all files to a new folder and building works correctly (.exe found and executes properly).

Any idea what the issue is and how to repair it?

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,628 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRIYANSHI JAIN 1 Reputation point

    hi @slipbits ,
    Have you added the path variable of mingw in environment variables in case of windows pc?

    0 comments No comments