# Ignore certain errors when building .net

**URL:** https://www.finalbuilder.com/forums/t/ignore-certain-errors-when-building-net/321
**Category:** Discussion
**Created:** [January 18, 2007, 2:38am UTC](https://www.finalbuilder.com/forums/t/ignore-certain-errors-when-building-net/321 "2007-01-18T02:38:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 18, 2007, 2:38am UTC](https://www.finalbuilder.com/forums/t/ignore-certain-errors-when-building-net/321/1 "2007-01-18T02:38:11Z")

</div>

Hi\<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /\>

I have .net solution to build and I want to ignore **only certain errors** like "Project : error PRJ0019: A tool returned an error code from "Performing registration"”

Is there a way I can do that?

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [January 19, 2007, 12:45pm UTC](https://www.finalbuilder.com/forums/t/ignore-certain-errors-when-building-net/321/2 "2007-01-19T12:45:30Z")

</div>

Yes, this can be done but you’ll have to write some script code to parse the output.  
  
Firstly, you’ll need to set the action to Ignore Failure. In the OnStatusMessage you then need to write some script to examine each line of output and look for error messages and set a variable depending on if you want to fail or succeed the action.  
  
Then when the action finished, you can examine the variable to see if you should continue the build or not.  
  
hth.  
.t8
