I have a Wizard-generated VS 2005 MFC DLL application. The application is named 'MyApp'. I wish to change the name of the application to 'YourApp'. I have laboriously renamed each file in the application directories and edited all the files, including the *.prj, *.ap, and other files. The renamed application compiles and runs, but the output is STILL 'MyApp.lib' and 'MyApp.dll'. I can manually rename the *.lib and *dll files and they run as expected, but I wish to have these files output as the renamed application would imply, namely 'YourApp.lib' and YourApp.dll'
Where does the naming of these output files reside and how can I change it without rewriting the whole program?
In the projects settings you'll find output name for 'debug' and 'release'. Change it there and I would make output name for dedug version with D (YourAppD.dll) so you can put both dll files in the same folder if you need to.
Why didn't you specify the correct name initially?
I dunno ?
Actually, there are quite a few places in the Property Pages of the application that you have to rename.
In addition to those noted by FockUSS,
Edited the *.dsp file which was full of initial name references
Change the output in the Property/C++/Precompiled Headers/
Change the : Linker/Debugging/Generate Program Database File/
Change : Linker/Advanced/Import Library
... to name but a few of them.
When you do all that, it seems to work as desired.