Changing a header file forces rebuild

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,
I have a solution with several projects which runs pretty well. But:
Whenever I change a header file this is not noticed by visual studio.
I switch to the cpp file and press ctrl-f7 to build this file an error
occurs. When I rebuild the project everything compiles ok. This is
really annoying and takes time. Can somebody help me?
Thanks, Chris

.



Relevant Pages

  • error with release build
    ... I have a visual studio 2008 asp.net project that compiles fine in debug ... when I switch to release build I get this error: ...
    (microsoft.public.vsnet.general)
  • Linmking problem
    ... I have a got a library that compiles fine ... with vc++6.0 (visual studio). ... It produced a lib file as it should. ... i have added the header file in my new project and have added the ...
    (microsoft.public.vc.language)
  • RE: Verifiable .exe impossible using managed C++?
    ... (Visual Studio .NET 2003). ... your managed entry point is e.g. ... I do not know wether it works with the -debug switch. ... It should be possible to specify assemblies as ...
    (microsoft.public.dotnet.framework)
  • mbctype.h Error in VS 2005 for Windows Mobile 5.0 Pocket SDK
    ... I created a new Windows Mobile 5.0 targeted Pocket PC application ... in Visual Studio 2005, VC++. ... This appln supports MFC and is a SDI. ... header file and when i again included some other path, ...
    (microsoft.public.pocketpc.developer)
  • Unnecessary builds in VS2005 when build configuration is switched
    ... Switch to Release configuration then immediately switch back to Debug ... Execute build -- Attention: project A will be unnecessary recompiled! ... When this file exists build command executed from visual studio recompiles ...
    (microsoft.public.vsnet.general)