|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
vbld_StepDone does not fire if step is SKIPPED in Visual Build 7
In VisualBuild6, I was able to have a step where its build rule would fail, causing the step to skip. Once this happened, vbld_StepDone would fire.
In VisualBuild7, the event does not fire when the step is skipped. Is this a bug? Or as designed? |
#2
|
|||
|
|||
In VBP 6.2, we did fix a bug that resulted in the vbld_StepStarted and vbld_StepDone events firing (with incorrect build status) when a step was skipped.
http://www.kinook.com/Forum/showthre...&threadid=2010 In v6.2 and later, this works as designed (not firing those events for skipped steps). You could instead check for LastStep.BuildStatus = vbld_StepStatSkipped in the following step. Or use Builder.EvaluateRule in vbld_StepStarting to determine if the step will be skipped. http://www.visualbuild.com/Manual/ev...rulemethod.htm |
#3
|
|||
|
|||
Thanks for clarifying. Much appreciated.
|
|
|