Article ID: 251116
Article Last Modified on 12/11/2003
APPLIES TO
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q251116
SYMPTOMS
When modifying a header file and then compiling the project, the source files that include the modified header are not recompiled.
CAUSE
This can happen if the Intermediate files edit box, which is on the General tab accessible from Settings on the Project menu, is left blank.
RESOLUTION
If you want the intermediate files to be placed in the project directory, place a
.
-or-
.\
in the Intermediate files edit box on the General tab of Settings under the Project menu.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION
Unless you use an absolute path for intermediate and output files, directories entered are relative to the project directory. The project directory is defined as the directory that contains the project's .dsp file.
Steps to Reproduce Behavior
- Create a default MFC AppWizard project.
- Select Settings from the Project menu.
- Select the General tab.
- Clear the Intermediate files edit box and click OK.
- Build the project.
- Open a header file contained in the project and modify it.
- Build the project again.
Keywords: kbbug kbide kbpending kbcompiler KB251116