59 references to ExecMSBuild
Microsoft.Build.CommandLine.UnitTests (31)
PerfLog_Tests.cs (2)
45
RunnerUtilities.
ExecMSBuild
(msbuildParameters, out bool successfulExit);
83
RunnerUtilities.
ExecMSBuild
(msbuildParameters, out bool successfulExit);
TerminalLogger_Tests.cs (2)
713
RunnerUtilities.
ExecMSBuild
($"{projectFile.Path} /m /bl:{logFileWithTL} -flp:logfile={Path.Combine(logFolder.Path, "logFileWithTL.log")};verbosity=diagnostic -tl:on", out bool success);
717
RunnerUtilities.
ExecMSBuild
($"{projectFile.Path} /m /bl:{logFileWithoutTL} -flp:logfile={Path.Combine(logFolder.Path, "logFileWithoutTL.log")};verbosity=diagnostic", out success);
XMake_Tests.cs (27)
713
string result = RunnerUtilities.
ExecMSBuild
($" {project.Path} -getProperty:Foo", out bool success);
780
string results = RunnerUtilities.
ExecMSBuild
($" {project.Path} {extraSwitch} {graph}", out bool success);
808
string results = RunnerUtilities.
ExecMSBuild
($" {project.Path} /p:someProperty:fdalse= ", out bool success);
835
string results = RunnerUtilities.
ExecMSBuild
($" {project.Path} {extraSwitch} -getResultOutputFile:{resultFile}", out bool success);
840
result = RunnerUtilities.
ExecMSBuild
($" {project.Path} {extraSwitch} -getResultOutputFile:", out success);
867
string result = RunnerUtilities.
ExecMSBuild
($" {project.Path} /restore {graph}", out bool success);
1196
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1240
output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1271
string output = RunnerUtilities.
ExecMSBuild
(string.Empty, out var successfulExit, _output);
1287
string output = RunnerUtilities.
ExecMSBuild
("project.proj -nologo", out bool success, _output);
1308
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1327
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1348
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1445
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1464
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1482
RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1500
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
1522
string output = RunnerUtilities.
ExecMSBuild
(msbuildParameters, out var successfulExit, _output);
2486
var output = RunnerUtilities.
ExecMSBuild
(parametersLoggerOptional, out bool successfulExit, _output);
2536
string output = RunnerUtilities.
ExecMSBuild
($"\"{testProject.Path}\" \"/bl:{binLogLocation}/output.binlog\"", out var success, _output);
2540
RunnerUtilities.
ExecMSBuild
($"\"{binLogLocation}/output.binlog\" \"/bl:{binLogLocation}/replay.binlog;ProjectImports=ZipFile\"", out success, _output);
2570
RunnerUtilities.
ExecMSBuild
($"\"{testProject.ProjectFile}\" {switches} ", out bool success, _output);
2610
string output = RunnerUtilities.
ExecMSBuild
($"\"{testSolution.Path}\" /p:Configuration=Debug", out var success, _output);
2657
string output = RunnerUtilities.
ExecMSBuild
($"{arguments} \"{testProject.ProjectFile}\"", out bool success, _output);
2715
RunnerUtilities.
ExecMSBuild
($"{arguments} \"{testProject.ProjectFile}\"", out bool success, _output);
2721
RunnerUtilities.
ExecMSBuild
($"{arguments} \"{testProject.ProjectFile}\"", out success, _output);
2836
string output = RunnerUtilities.
ExecMSBuild
($"\"{testProject.ProjectFile}\" {string.Join(" ", arguments)}", out var success, _output);
Microsoft.Build.Engine.UnitTests (24)
BackEnd\TaskBuilder_Tests.cs (1)
103
string results = RunnerUtilities.
ExecMSBuild
(projectFile.Path + " /v:diag", out bool success);
BinaryLogger_Tests.cs (6)
356
RunnerUtilities.
ExecMSBuild
($"{projectFile.Path} -bl:{_logFile}", out bool success);
359
RunnerUtilities.
ExecMSBuild
($"{_logFile} -flp:logfile={Path.Combine(logFolder.Path, "logFile.log")};verbosity=diagnostic", out success);
416
RunnerUtilities.
ExecMSBuild
($"{projectFile.Path} -nr:False -bl:{_logFile} -flp1:logfile={Path.Combine(logFolder.Path, "logFile.log")};verbosity=diagnostic -flp2:logfile={Path.Combine(logFolder.Path, "logFile2.log")};verbosity=normal", out bool success);
428
RunnerUtilities.
ExecMSBuild
($"{_logFile} -flp1:logfile={Path.Combine(logFolder.Path, "logFile3.log")};verbosity=diagnostic -flp2:logfile={Path.Combine(logFolder.Path, "logFile4.log")};verbosity=normal", out success);
626
string consoleOutput1 = RunnerUtilities.
ExecMSBuild
($"{projectFile1.Path} -bl:{_logFile} -verbosity:diag -nologo", out bool success1);
634
string consoleOutput2 = RunnerUtilities.
ExecMSBuild
($"{projectFile2.Path} -bl:{_logFile} -verbosity:{verbosity} -nologo", out bool success2);
Construction\SolutionProjectGenerator_Tests.cs (4)
123
RunnerUtilities.
ExecMSBuild
(solutionFile.Path + " /t:classlib", out bool success);
192
string output = RunnerUtilities.
ExecMSBuild
(solutionFile.Path + " /t:Clean;Build;Custom", out bool success);
271
var output = RunnerUtilities.
ExecMSBuild
(solutionFile.Path + " /m /t:Clean;Build;Custom", out bool success);
900
RunnerUtilities.
ExecMSBuild
("\"" + proj.Path + "\"", out bool successfulExit);
TerminalLoggerConfiguration_Tests.cs (7)
55
string output = RunnerUtilities.
ExecMSBuild
($"{_cmd} -tl:{tlValue}", out bool success);
83
string output = RunnerUtilities.
ExecMSBuild
($"{_cmd} -tl:{tlValue}", out bool success);
112
string output = RunnerUtilities.
ExecMSBuild
($"{_cmd} -tlp:default={bool.TrueString}", out bool success);
141
string output = RunnerUtilities.
ExecMSBuild
($"{_cmd}", out bool success);
169
string output = RunnerUtilities.
ExecMSBuild
($"{_cmd} -tlp:default={defaultValue}", out bool success);
197
string output = RunnerUtilities.
ExecMSBuild
($"{_cmd} -tlp:default={defaultValue} -v:m", out bool success);
229
string output = RunnerUtilities.
ExecMSBuild
(
TypeLoader_Dependencies_Tests.cs (2)
30
string output = RunnerUtilities.
ExecMSBuild
(projectFilePath + " /v:diag", out successfulExit);
51
string output = RunnerUtilities.
ExecMSBuild
(projectFilePath + " /v:diag /p:AssemblyPath=" + newTaskDllPath, out successfulExit);
TypeLoader_Tests.cs (4)
72
string output = RunnerUtilities.
ExecMSBuild
(projectFilePath + " /v:diag /p:AssemblyPath=" + dllName, out successfulExit, _output);
87
string output = RunnerUtilities.
ExecMSBuild
(projectFilePath + " /v:diag", out successfulExit, _output);
131
string output = RunnerUtilities.
ExecMSBuild
(projectFilePath + " /v:diag /p:AssemblyPath=" + movedDLLPath, out successfulExit, _output);
155
string output = RunnerUtilities.
ExecMSBuild
(projectFilePath + " /v:diag /p:AssemblyPath=" + copiedDllPath, out successfulExit, _output);
Microsoft.Build.Tasks.UnitTests (4)
PortableTasks_Tests.cs (1)
73
: RunnerUtilities.
ExecMSBuild
(projFile, out successfulExit);
RoslynCodeTaskFactory_Tests.cs (3)
79
string output = RunnerUtilities.
ExecMSBuild
(inlineTask.Path, out bool success);
116
string output = RunnerUtilities.
ExecMSBuild
(assemblyProj.Path + $" /p:OutDir={Path.Combine(folder.Path, "subFolder")} /restore", out bool success);
141
output = RunnerUtilities.
ExecMSBuild
(inlineTask.Path, out success);