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.
精彩评论