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
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1