How do I change the program name in visual studio?
I can change the project name, but I look in every crack and crevice and I don't see how to change the name of the program it builds.
changing the project name should change the executable?
Myproject builds Myproject.exe no?
probably easier just to create a new project and import all source/subprojects?
and this probably varies depending on what version of visual studio and what language you're using.
we're switching to vs2005 soon, and I hear the ENTIRE C standard library has been deprecated. should be an interesting switch.
Is this VB or VC++?
If VB, select File, Make (with the wrong name), then change the name in the dialog box to get a new executable name.
It's not obvious, I know.
If C++ -- Project, Settings, select the "link" tab, select the output name.
All above from Studio 6, I haven't 'graduated' to .NET yet.
I thought changing the project name would change it, but it didn't. And I don't know how I missed the output name. But changing that did work. Thanks.
Open up all the files with an editor and do a global find/replace.
Yeah, this is a Microsoft product. Global search and replace STILL wouldn't change the name of the output executable.
They're funny like that.
Huh. I thought I'd done it in the past.
I'd muck around with one of my projects to see one way or the other, but it's Friday, man...
"Global search and replace STILL wouldn't change the name of the output executable. "
Ofcourse it does. It doesn't invent that output file name as it goes along during compile or link time. It's somewhere in the project file(s). The search & replace needs to be done from outside visual studio of course to also cover the meta files and not just the source files.
Locutus of Borg
April 7th, 2007 5:33am