13 writes to ToolExe
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\ManagedToolTask.cs (1)
159ToolExe = null;
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\ManagedToolTask.cs (1)
159ToolExe = null;
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (5)
CscTests.cs (4)
468csc.ToolExe = Path.Combine("path", "to", "custom_csc"); 474csc.ToolExe = Path.Combine("path", "to", "custom_csc"); 485csc.ToolExe = ""; 507csc.ToolExe = $"csc{PlatformInformation.ExeExtension}";
VbcTests.cs (1)
448vbc.ToolExe = $"vbc{PlatformInformation.ExeExtension}";
Microsoft.Build.Tasks.Core (2)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
748managedCompiler.ToolExe = toolExe; 764managedCompiler.ToolExe = toolExe;
Microsoft.Build.Utilities.Core (2)
ToolTask.cs (2)
1423ToolExe = "cmd.exe"; 1430ToolExe = "/bin/sh";
Microsoft.Build.Utilities.UnitTests (2)
ToolTask_Tests.cs (2)
404t.ToolExe = "bar.exe"; 431t.ToolExe = copyName;
23 references to ToolExe
Microsoft.Build.Tasks.CodeAnalysis (5)
src\Compilers\Core\MSBuildTask\ManagedToolTask.cs (5)
51/// We want to continue using the builtin tool if user sets <see cref="ToolTask.ToolExe"/> = <c>csc.exe</c>, 53/// hence we also compare <see cref="ToolTask.ToolExe"/> with <see cref="AppHostToolName"/> in addition to <see cref="ToolName"/>. 55protected bool UsingBuiltinTool => string.IsNullOrEmpty(ToolPath) && (ToolExe == ToolName || ToolExe == AppHostToolName); 164return Path.Combine(ToolPath ?? "", ToolExe);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (5)
src\Compilers\Core\MSBuildTask\ManagedToolTask.cs (5)
51/// We want to continue using the builtin tool if user sets <see cref="ToolTask.ToolExe"/> = <c>csc.exe</c>, 53/// hence we also compare <see cref="ToolTask.ToolExe"/> with <see cref="AppHostToolName"/> in addition to <see cref="ToolName"/>. 55protected bool UsingBuiltinTool => string.IsNullOrEmpty(ToolPath) && (ToolExe == ToolName || ToolExe == AppHostToolName); 164return Path.Combine(ToolPath ?? "", ToolExe);
Microsoft.Build.Tasks.Core (4)
LC.cs (1)
136string pathToTool = SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe, Log, true);
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (3)
124if (!String.IsNullOrWhiteSpace(ToolExe) && Path.IsPathRooted(ToolExe)) 126return ToolExe;
Microsoft.Build.Utilities.Core (7)
ToolTask.cs (7)
462LogPrivate.LogErrorWithCodeFromResources("ToolTask.ToolCommandFailed", ToolExe, ExitCode); 523return ToolExe; 529pathToTool = Path.Combine(ToolPath, ToolExe); 542pathToTool = Path.Combine(directory, ToolExe); 736LogPathToTool(ToolExe, pathToTool); 1617LogPrivate.LogErrorWithCodeFromResources("General.InvalidToolSwitch", ToolExe, e.ToString()); 1625LogPrivate.LogErrorWithCodeFromResources("ToolTask.CouldNotStartToolExecutable", ToolExe, e.ToString());
Microsoft.Build.Utilities.UnitTests (2)
ToolTask_Tests.cs (2)
403t.ToolExe.ShouldBe("foo.exe"); 405t.ToolExe.ShouldBe("bar.exe");