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.
+1
A:
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.
The Chairman
2010-01-09 09:42:05
This works great, thanks!
ZIP Code Database
2010-01-11 16:01:04