Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-25-2009, 03:59 PM
brizeka brizeka is online now
Registered User
 
Join Date: 07-21-2004
Location: NJ
Posts: 6
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:48 AM.


Copyright © 1999-2023 Kinook Software, Inc.