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

发布于 2022-10-08 18:47:11 字数 372 浏览 0 评论 0

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

失去的东西太少 2022-10-15 18:47:11 2 楼

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

Rebuild = Clean + Build
方觉久 2022-10-15 18:47:11 1 楼

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

~没有更多了~
原文
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击“接受”或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。