![]() |
#7
|
|||
|
|||
It Does Not Work For Me
I am trying to implement the solution you have provided but have not been successful. When adding the code below the process always executes "MsgBox '2:' ". The text of LASTSTEP_OUTPUT does contain the text, as I can see it in the MsgBox display. Also, even after executing the "MsgBox '2:' " code, The Build Status is still "Failed". If I Build Next Step, only then does the status change. Is there something I am missing?
---< code >--- If Step.BuildStatus = vbldStepStatFailed And _ InStr(vbld_AllMacros()("LASTSTEP_OUTPUT"), "Process completed with exit code 100") = 0 Then Step.BuildStatus = vbldStepStatSucceeded MsgBox "1:" & Step.BuildStatus End If If Step.BuildStatus = vbldStepStatFailed Then Step.BuildStatus = vbldStepStatSucceeded MsgBox "2:" & Step.BuildStatus & vbld_AllMacros()("LASTSTEP_OUTPUT") End If |
Thread Tools | |
Display Modes | Rate This Thread |
|
|