When can a final exe have a different name than the solution name in Visual C++ 2010?

495 views Asked by At

I am having to look after a big solution created in Visual Studio 2003 using MFC and C++
I opened and converted it into VC2010 version using Visual Studio 2010 Professional
The solution name, the vc project file name, etc are all called telemetry and I am building for a final release version. But the exe file in the release folder shows up in a different name. When I try to run the file from the IDE using the green run button, it gives an error saying Telemetry.exe not found in the release folder. However I have cleaned and rebuilt the solution many times, but the exe file shows up under a different name
The person who used to maintain the code before had told me that it doesn't build at all under VS2010 . I am not sure what he ment, but I did not have any problems building it. The only problem seems to be running it from the IDE after build, which is due to the exe filename being different than the solution filename.

What settings may be causing the exe filename to be different than the solution name?


EDIT FOR NEW QUESTION IN COMMENT

Error:
enter image description here
Settings in Visual Studio:
enter image description here

1

There are 1 answers

0
Roger Rowland On BEST ANSWER

If it's not been changed in Project Properties->General->Target Name, which defaults to ($ProjectName), look at Project Properties->Linker->General->Output File to see if a specific name has been requested for the linker output.