Why is Visual Studio 2008 always rebuilding my whole project?

前端 未结 18 1843
栀梦
栀梦 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:44

    After a couple days of googling, I ended up with a solution to my problem.

    I encountered this problem when I moved my projects to a new PC. I had checked several times the creation date of the files. These dates were up-to-date, however the modification dates were in the bast (kinda bizarre) even when I changed the files.

    A simple update of the files resolved the problem.

提交回复
热议问题