#1
|
|||
|
|||
StepStarted event not behaving as documented
According to the documentation (see http://www.kinook.com/VBP/Manual/ind...riptevents.htm), we are told “The StepStarted and StepDone events fire even if the step is skipped. Use conditional logic (VBScript syntax) like If Step.BuildStatus <> vbldStepStatSkipped Then ... to perform event logic only if the step was not skipped.”
I am handling the vbld_StepStartedProject() and I can tell you from experience that Step.BuildStatus is never vbldStepStatSkipped, even if the step is skipped. The only way I can find out if it is skipped is through the vbld_StepDoneProject event. Step.BuildStatus is correct in the StepDone event. Here’s a snippet from my vbld_StepStartedProject() handler: If Step.BuildStatus = vbldStepStatSkipped Then ' return now -- this step was skipped Exit Sub End If Am I doing something wrong or is the documentation wrong? Last edited by Dave_Novak; 08-03-2006 at 05:42 PM. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|