Reputation: 520
How do I ensure that a given task always runs even if others fail? Say I have a task that installs an msi, another that builds a solution file, and then another that uninstalls an msi. If the middle task fails, I still want to uninstall the msi.
Upvotes: 1
Views: 338
Reputation: 7187
Task blocks may be put into either the <prebuild>
section, the <tasks>
section, or the <publishers>
section. Place any tasks that need to run even if another task fails into the <publishers>
section.
Find the documentation here.
Upvotes: 2