7 writes to ToolPath
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (3)
CscTests.cs (3)
470csc.ToolPath = ""; 487csc.ToolPath = Path.Combine("path", "to", "custom_csc"); 495csc.ToolPath = Path.Combine("path", "to", "custom_csc");
Microsoft.Build.Utilities.UnitTests (3)
ToolTask_Tests.cs (3)
130t.ToolPath = NativeMethodsShared.IsWindows ? @"C:\MyAlternatePath" : "/MyAlternatePath"; 146t.ToolPath = NativeMethodsShared.IsWindows ? @"C:\MyAlternatePath" : "/MyAlternatePath"; 384t.ToolPath = systemPath;
Microsoft.DotNet.Build.Tasks.Workloads (1)
Wix\WixToolTaskBase.cs (1)
51ToolPath = wixToolsetPath;
6 references to ToolPath
Microsoft.Build.Tasks.CodeAnalysis (2)
ManagedToolTask.cs (2)
29protected bool IsManagedTool => string.IsNullOrEmpty(ToolPath) && ToolExe == ToolName; 110: Path.Combine(ToolPath ?? "", ToolExe);
Microsoft.Build.Utilities.Core (3)
ToolTask.cs (3)
512if (!string.IsNullOrEmpty(ToolPath)) 515pathToTool = Path.Combine(ToolPath, ToolExe); 518if (string.IsNullOrWhiteSpace(pathToTool) || (ToolPath == null && !FileSystems.Default.FileExists(pathToTool)))
Microsoft.DotNet.Build.Tasks.Workloads (1)
Wix\WixToolTaskBase.cs (1)
78protected override string GenerateFullPathToTool() => ToolPath;