I have quite a few applications I developed during the last years. I have the same problem with all of them, when I try to debug them, visual studio shows The program '<program_name>' has exited with code 0 (0x0).
without even hitting the first line in the main
function.
I already used Visual Studio repair. It did not work. Moreover, If I create a brand-new project with the same code, I can debug it without any issue. Also, I can run the executables generated if I do it outside visual studio.
Any clue what may be wrong?