# Failing msbuild sets complete stage as failed

**URL:** https://www.finalbuilder.com/forums/t/failing-msbuild-sets-complete-stage-as-failed/5525
**Category:** Discussion
**Created:** [November 16, 2016, 1:45am UTC](https://www.finalbuilder.com/forums/t/failing-msbuild-sets-complete-stage-as-failed/5525 "2016-11-16T01:45:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [November 16, 2016, 1:45am UTC](https://www.finalbuilder.com/forums/t/failing-msbuild-sets-complete-stage-as-failed/5525/1 "2016-11-16T01:45:06Z")

</div>

Hi,  
I have following problem. I have a configuration in wich I compile around of 30 projects with msbuild. Everytime when one msbuild cannot build his projekt (and exits with a error) continua does not perform the following msbuild actions. Is there a option to tell continua to execute all actions of a stage even if some of them are failing? (Or is the only solution to put every msbuild-action in a try-catch).

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [November 17, 2016, 8:49am UTC](https://www.finalbuilder.com/forums/t/failing-msbuild-sets-complete-stage-as-failed/5525/2 "2016-11-17T08:49:56Z")

</div>

Hi Rynardald,  
  
There is currently no option to continue subsequent stage actions when one action fails without wrapping it in a Try Catch block. We are looking into adding a “Treat Failure As Warning” option to some actions which will mark the failed action with a Warning status before continuing on to the next action. Once this i done this can be used for your scenario  
  
We’re interested to know the use case for continuing to build other projects when one fails. Generally a configuration would contain dependant projects and it would not be worth continuing with the build.&nbsp;

---

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [November 17, 2016, 10:51am UTC](https://www.finalbuilder.com/forums/t/failing-msbuild-sets-complete-stage-as-failed/5525/3 "2016-11-17T10:51:25Z")

</div>

Hi Dave,   
  
 the reason why I want to proceed with a stage even when a action failed, is that I want to see all failing projects.   
 The first point is that so I can see all projects which are affected by a error and the second point is that i can recognize multiple errors if a commit introduced more than one error in more than one projects.   
 At the end I would still mark this stage as failed but I have a better overview over all failing projects (and the errors).
