Visual Studio: launch: program 'c:\C\Debug\outDebug' does not exist

Feb 27, 2023
Reaction score


Mar 5, 2023
Reaction score
Usually indicates that the IDE is unable to locate the executable file for your project.

Here are some steps you can take to resolve the issue:

  1. Make sure that your project has been built successfully. If there were errors during the build process, the executable file may not have been created. Check the output window for any error messages.
  2. Check the path specified in the error message. Make sure that the path is correct and that the executable file is located in the specified directory.
  3. If the path is incorrect, you may need to update the project settings to specify the correct output directory. To do this, right-click on the project in the Solution Explorer, select "Properties", and go to the "Configuration Properties" > "General" page. Make sure that the "Output Directory" setting is set to the correct path.
  4. If the executable file is not located in the specified directory, you may need to rebuild the project. To do this, go to the "Build" menu and select "Rebuild Solution".
  5. If none of the above steps work, try creating a new project and see if you can build and run it successfully. This can help isolate whether the issue is specific to your project or a more general problem with Visual Studio.

hopefully one of these worked, let me know how you go :)

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question