开发者

Can there be any difference between Clean+Rebuild and Clean+Build

开发者 https://www.devze.com 2023-03-03 20:52 出处:网络
I\'ve got a msbuild task in cruiseControl which first Clearn and then Rebuild. Can there be any difference if I change it as Clean and Build (rather than rebuild) ?

I've got a msbuild task in cruiseControl which first Clearn and then Rebuild. Can there be any difference if I change it as Clean and Build (rather than rebuild) ?

Rebuild does "Clean + Build" for each project. "Clean + Build" in the solution will clean all the projects and 开发者_开发问答then build each of them. Can there be some corner cases that can make differences?


Assuming the msbuild targets have not been modified to add extra functionality then:

Rebuild = Clean + Build


Rebuild is a shortcut for doing Clean and then Build - so you should get the same results.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号