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
解决这一问题的唯一途径是进行清理。
任何建议都受到高度赞赏。