Ignore Runner Exit Code

Ignore Runner Exit Code

is it possible to have NCover ignore the exit code of the test runner? nunit.console works fine for me other than returning a -100 exit code. I still want NCover to continue.


RE: Ignore Runner Exit Code

In a bash script or on the console, returning -100 shouldn't have any effect. If you're using MSBuild we support adding the ContinueOnError="true" attribute to your NCover task, which will cause failure to display a warning rather than ending the script execution.