Why is Visual Studio 2008 always rebuilding my whole project?

前端 未结 18 1810
栀梦
栀梦 2021-02-05 18:22

I have a Visual Studio project with about 60 C++ source files. I can do a build, and it completes without errors. But if I immediately hit F7 again, it always re-compiles about

18条回答
  •  再見小時候
    2021-02-05 18:46

    Disabling "minimal rebuild" (Configuration Properties > C/C++ > Code Generation) fixed it for me. The compiler even left a clue:

    1>cl : Command line warning D9007 : '/Gm' requires '/Zi or /ZI'; option ignored

    Although I must point out, the compiler did not ignore the option as it said.

提交回复
热议问题