Clean a Project
If you want to trigger the Clean action, you have these alternatives:
- Alternative 1
-
In the Project Explorer
. - Alternative 2
-
Select the menu
. - Alternative 3
-
Click to the drop-down arrow of the Active Project Action icon () and select clean.
Default clean
The default cleaning mechanism, remove all the built output artifacts at the file extension base.
Legacy clean
You can set up the legacy cleaning mechanism from the menu
by setting the Use legacy clean in managed-make projects option.Compared to the default cleaning mechanism, the legacy clean remove all the build output artifacts based on the exact artifact name.
NOTE: Even when the legacy clean option is supported, we recommend using the default cleaning mechanism as the legacy clean can generate too long command line, making a problem during the build.