Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   vbld_StepDone does not fire if step is SKIPPED in Visual Build 7 (https://www.kinook.com/Forum/showthread.php?t=4045)

Sopheap 06-08-2009 01:55 PM

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?

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/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

Sopheap 06-08-2009 03:25 PM

Thanks for clarifying. Much appreciated.


All times are GMT -5. The time now is 06:10 PM.


Copyright © 1999-2023 Kinook Software, Inc.