ToolTask.StartToolProcess(Process) Method

Definition

We expect tasks to override this method if they need information about the tool process or its process events during task execution. Implementation should make sure that the task is started in this method. Starts the process during task execution.

C#
protected virtual System.Diagnostics.Process StartToolProcess(System.Diagnostics.Process proc);

Parameters

proc
Process

Fully populated Process instance representing the tool process to be started.

Returns

A started process. This could be proc or another Process instance.

Applies to

Product Versions
MSBuild 17
MSBuild (.NET Core) 17