Solved

Visual Studio 6.0 C++ "One or more files are out of date or do not exist" message.

Posted on 2010-11-09
5
1,274 Views
Last Modified: 2012-05-10
Hi experts,

I have an MFC application that displays the message "One or more files are out of date or do not exists.  These files need to be built.... Would you like to build them?" when I run the application in Visual Studio environment.  I know the file Visual Studio complains about is really missing and that when I put this file in, the message is no longer displayed.  However, if I run the application outside of Visual Studio by double clicking on the executable, the message is not displayed even though the file is missing.  My question is "What files does Visual Studio use to dertermine this file is missing?"  I would like to make the change so that the message is no longer shown when I run the application inside Visual Studio.

Thanks for your help.
0
Comment
Question by:ChiliPequin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:davesgonebananas
ID: 34098334
> "One or more files are out of date"

Visual Studio is telling you that changes have been made to the source code files and that the executable files are not reflecting these changes.  In order to get the most up to date application you must rebuild your project, which you can do by pressing F6.
0
 

Author Comment

by:ChiliPequin
ID: 34099406
Hi davesgonebananas,

Thanks for your input.  I have done  the rebuild all many times but the message is still displayed.  In this case, I know the missing file that Visual Studio is complaining about.  It is a .hlp file that I do not have in the debug folder.  When I placed a .hlp file there, the message is no longer shown.  My question is why this message not shown when I run the application outside of Visual Studio without this file?  Is there a makefile or something similar that Visual Studio look at when I press the F5 key to start the debug process?  I would like to find where this .hlp is referenced so I can remove it.  
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 34113825
That is an issue with your project file, not the executable. You have a dependency to that .hlp file in your project, and should see that in the Project Explorer (Files) window. Right click on the file there, go into Setup, General, and tick "Exclude from build" (or similar). Or remove the file from the list.
0
 

Author Comment

by:ChiliPequin
ID: 34123394
Hi Qlemo,

Thanks for your input.  I have found out the place where this code is executed.  It is in the Custom Build section of the .dsp file.  You are right, the problem is in the project file and not in the executable.
I use Visual Studio 6.0, therefore, I do not have Project Explorer.  I commented this code out manually by editing the .dsp file.

Thanks again.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 34123404
Editing the dsp file should do.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question