Ignore certain errors when building .net

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?


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