ToolTask.GetWorkingDirectory Method

Definition

Gets the working directory to use for the process. Should return null if ToolTask should use the current directory.

C#
protected virtual string GetWorkingDirectory();

Returns

Remarks

This is a method rather than a property so that derived classes (like Exec) can choose to expose a public WorkingDirectory property, and it would be confusing to have two properties.

Applies to

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17