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

I have an msbuild task in cruiseControl, which is first Clearn and then Rebuild. Could there be any difference if I change it as Clean and Build (rather than rebuild)?

Rebuild does a β€œClean + Build” for each project. "Clean + Build" in the solution will clean all the projects, and then build each of them. Could there be some angular cases that can make a difference?

+6
source share
3 answers

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

+5
source

Assuming the msbuild goals have not been changed to add additional features, follow these steps:

 Rebuild = Clean + Build 
+7
source

Not.

0
source

Source: https://habr.com/ru/post/887420/


All Articles