#1
|
|||
|
|||
read ini, file missing
I have a problem where I want to fail the build if the file is missing for the read ini action. Currently I have to add a script to the action to check if the action actually set the to anything, else fail.
I would have expected the step to fail if the file could not be found. Not use the default value. Also I tried to use the default value field to fail the step like this: [Step.BuildStatus = vbldStepStatFailed] The thought here was that having to use the default value is the same as failing. But that didn't work either, it just set the value to 0. It must have interpreted it as an comparison not an assignment. Is there an easy way to fail the step if the file or value in the file is missing? |
Thread Tools | |
Display Modes | Rate This Thread |
|
|