10 references to PathToBuiltInTool
Microsoft.Build.Tasks.CodeAnalysis (4)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (2)
545
var clientDirectory = Path.GetDirectoryName(
PathToBuiltInTool
);
548
LogCompilationMessage(logger, requestId, CompilationKind.Tool, $"using command line tool because we could not find client or temp directory '{
PathToBuiltInTool
}'");
src\Compilers\Core\MSBuildTask\ManagedToolTask.cs (2)
111
commandLineArguments = RuntimeHostInfo.GetDotNetExecCommandLine(
PathToBuiltInTool
, commandLineArguments);
158
return UseAppHost ?
PathToBuiltInTool
: RuntimeHostInfo.GetDotNetPathOrDefault();
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (6)
CscTests.cs (2)
511
AssertEx.Equal(csc.
PathToBuiltInTool
, csc.GeneratePathToTool());
517
AssertEx.Equal(RuntimeHostInfo.GetDotNetExecCommandLine(csc.
PathToBuiltInTool
, ""), csc.GenerateCommandLineContents());
MSBuildManagedToolTests.cs (1)
21
Assert.Equal(Path.Combine(taskPath, relativePath), task.
PathToBuiltInTool
);
TestUtilities\TaskTestUtil.cs (1)
43
AssertEx.Equal($@"{task.
PathToBuiltInTool
} {line}", commandLine);
VbcTests.cs (2)
452
AssertEx.Equal(vbc.
PathToBuiltInTool
, vbc.GeneratePathToTool());
458
AssertEx.Equal(RuntimeHostInfo.GetDotNetExecCommandLine(vbc.
PathToBuiltInTool
, ""), vbc.GenerateCommandLineContents());