For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > February 2006 > Changing Output File Name causes problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Changing Output File Name causes problem
Roger Garrett

2006-02-16, 7:03 pm

I'm using Visual Studio.Net Version 7 and am writing a C++ MFC Dialog-based
application. The program name is "Member Client" and initially the Build
Properties / Linker / General / Ouput File showed as
&(OutDir)/$(ProjectName).exe, which is the usual default for that Build
Property. I subsequently changed that property to $(OutDir)/RPClient.exe. I
then compile and it complies and links just fine. But when I go to run the
program, with Debug/Start New Instance, it reports that the project
configuration (Member Client - Debug Win32) is out of date and asks if I want
to build them.

That shouldn't happen, because I just compiled and linked successfully
before attempting to run it.

If I answer Yes, that I want to build, it then compiles and links and starts
up the program.

If I then stop the program and again try to start it up, it once again tells
me that the configuration is out of date.

Why does it keep telling me that it's out of date when I have just
successfully compiled and linked it? The only change I made was in specifying
what the output file should be called.

- Roger Garrett


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com