The VS2019 debugger reports an error and cannot find the .exe file

Usually the output file directory does not match the actual file. You need to modify the following two places:
1. Project properties -> Linker -> General -> Output file
Insert picture description here
2. The output file directory can be seen in the general option under the configuration properties:
Insert picture description here
4. After regenerating the file, no error will be prompted .

Guess you like

Origin blog.csdn.net/daijingxin/article/details/108944780