Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-27-2012, 12:17 PM
modernrocketry modernrocketry is online now
Registered User
 
Join Date: 04-06-2006
Posts: 19
Rebuild step if it fails via VBScript

I randomly experience a Microsoft VS2010\Windows 7 bug that causes a build to fail with a mt.exe error. It has been acknowledged by MS, but I have not seen a fix yet.

In the meantime, I'd like to work around it.

Is it possible to force a step to rebuild if the error or exitcode equals a certain value?

Something like this?

Sub vbld_StepDone()
If CLng(Application.ExpandMacros("%RUNPROGRAM_EXITCOD E%")) = mt.exe's exist code Then
Step.?????????
End If
End Sub
Reply With Quote
 


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 06:50 AM.


Copyright © 1999-2023 Kinook Software, Inc.