#1
|
|||
|
|||
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 |
Thread Tools | |
Display Modes | Rate This Thread |
|
|