Nobody likes to be called a dummy by a dummy.

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.
Permalink son of parnas 
April 6th, 2007 3:18pm
output file under linker properties?
Permalink the great purple 
April 6th, 2007 3:29pm
changing the project name should change the executable?

Myproject builds Myproject.exe no?
Permalink arg! 
April 6th, 2007 3:31pm
probably easier just to create a new project and import all source/subprojects?
Permalink arg! 
April 6th, 2007 3:33pm
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.
Permalink the great purple 
April 6th, 2007 3:33pm
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.
Permalink SaveTheHubble 
April 6th, 2007 3:33pm
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.
Permalink son of parnas 
April 6th, 2007 3:34pm
Open up all the files with an editor and do a global find/replace.
Permalink Lurk Machine 
April 6th, 2007 3:36pm
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.
Permalink SaveTheHubble 
April 6th, 2007 3:53pm
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...
Permalink Lurk Machine 
April 6th, 2007 5:06pm
"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.
Permalink Send private email Locutus of Borg 
April 7th, 2007 5:33am

This topic is archived. No further replies will be accepted.

Other topics: April, 2007 Other topics: April, 2007 Recent topics Recent topics