Visual Studio Rebuilds unmodified projects

前端 未结 17 1946
夕颜
夕颜 2020-12-04 08:49

So, as the title reads, I have a VS2010 solution with ~50 projects in it right now. If I make a change to a \"top level\" project that nothing references then VS still rebui

17条回答
  •  自闭症患者
    2020-12-04 09:01

    Another problem that frequently happens is when some item in your solution has a modified stamp that is in the future. This can happen if you set your clock forward, and then set your clock to the correct time. I had this happen while installing Linux.

    In this case you can recursively touch all the files using git bash (yes, in Windows):

    find . -exec touch {} \;
    

提交回复
热议问题