ToolTask.ToolPath Property

Definition

Project-visible property allows the user to override the path to the executable.

C#
public string ToolPath { get; set; }
C#
public string ToolPath { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

Path to tool.

Attributes

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17