Visual Studio 2008 Unnecessary Project Building

后端 未结 13 955
日久生厌
日久生厌 2020-12-05 06:41

I have a C# project which includes one exe and 11 library files. The exe references all the libraries, and lib1 may reference lib2, lib3, lib4, etc.

If I make a chan

13条回答
  •  执笔经年
    2020-12-05 07:25

    We had a similar problem at work. In post-build events we were manually embedding manifests into the outputs in the bin directory. Visual Studio was copying project references from the obj dir (which weren't modified). The timestamp difference triggered unnecessary rebuilds.

    If your post-build events modify project outputs then either modify the outputs in the bin and obj dir OR copy the modified outputs in the bin dir on top of those in the obj dir.

提交回复
热议问题