Very often, actually most of the times, Visual Studio2005 doesn't detect that some header included in some CPP file C++ project was changed. As the consequence, it doesn't recompile the project if only header is changed.
It doesn't depend on the "precompiled headers" settings. It doesn't happen in VS 2006 but in every version of VS 2005 and VS 2008 it does. It happens for all the projects, not for some specific one.
It doesn't happen if header file is a part of the project, i.e. if it appears in the vcproj file
The only way to resolve the issue is to perform a clean build.
Any advise is strongly appreciated.