View Full Version : vbld_StepDone does not fire if step is SKIPPED in Visual Build 7
Sopheap
06-08-2009, 01:55 PM
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?
kinook
06-08-2009, 03:16 PM
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/showthread.php?s=&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/evaluaterulemethod.htm
Sopheap
06-08-2009, 03:25 PM
Thanks for clarifying. Much appreciated.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.