SmartExec Properties

MSBuild Extension Pack

SmartExec Properties MSBuild Extension Pack Help 4.0.12.0

The SmartExec type exposes the following members.

Properties

  Name Description
Public property Command
Gets or sets the command(s) to run. These can be system commands, such as attrib, or an executable, such as program.exe, runprogram.bat, or setup.msi. This parameter can contain multiple lines of commands (each command on a new-line). Alternatively, you can place multiple commands in a batch file and run it using this parameter.
Public property IgnoreExitCode
Gets or sets a value indicating whether to ignore the command exit code. If true, the task ignores the exit code provided by the executed command. Otherwise, the task returns false if the executed command returns an exit code that does not match SuccessExitCode.
Public property SuccessExitCode
Gets or sets the success exit code for the command. Default is zero (0).
Top
See Also

Reference