Share via


Cannot find the project.exe file

Question

Wednesday, October 26, 2016 4:03 PM

I'm trying to debug my programs in c++ files and MVS 2015 doesn't create the ".exe" file in the "Debug" directory. How can I fix this?

All replies (3)

Thursday, October 27, 2016 2:42 AM

Hi Enrico_Giorio,

Welcome to the MSDN forum.

When you create the C++ project, which template did you chose?

For mostly of the C++ project template, it can auto create the .exe file after you build the current project, please have a look at the following to troubleshot your issue:

1. Right click the Project name under Solution Explorer, and choose ‘Properties’

2. On the Property Pages windows, check Configuration Properties-General-Target Extension, it should display ‘.exe’ as below, then close this windows.

3. Right click the Project name under Solution Explorer, and choose ‘Build’

4. After successfully build this project, open the Property Pages windows again, check Linker-General-Output File and click the dropdown icon and click the <Edit…>, then it will popups the default output file location like the following screenshot, which often under the root folder of the project, please open the File Explore and find this output file folder, then you will find the .exe file.

Best regards,

Sara

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Thursday, October 27, 2016 8:13 PM

Thanks a lot, it was a problem of file source.. cpp files were not in the "source files" directory but everywhere else than there! Ahaha thank you again and sorry for bad English. Fortunately programs are written in universap language :P


Friday, October 28, 2016 1:20 AM

Hi Enrico_Giorio,

Thank you for your update, so did your issue is solved, right?

If so, if you think your reply or my reply is helpful, please mark it as answer and it will help other community members who have the same or similar issue to easier search this solution, thank you for your understanding.

If not, please provide your current issue and we will continue to help you to fix it.

Best regards,

Sara

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].