30 references to BuildEnvironmentHelper
Microsoft.Build.CommandLine.UnitTests (19)
MSBuildServer_Tests.cs (16)
97
string output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out bool success, false, _output);
103
output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out success, false, _output);
126
RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, sleepProject.Path, out _);
129
output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out success, false, _output);
147
string output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out bool success, false, _output);
156
output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out success, false, _output);
163
output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out success, false, _output);
189
string output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out bool success, false, _output);
205
RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, sleepProject.Path, out _, false, _output);
215
output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out success, false, _output);
221
output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out success, false, _output);
244
string output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path, out bool success, false, _output);
281
string output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path + " /nodereuse:false", out bool success, false, _output);
294
string output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, project.Path + " -interactive", out bool success, false, _output);
325
string output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, $"/t:DisplayMessages {project.Path}", out bool success, false, _output);
333
output = RunnerUtilities.ExecMSBuild(
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath, $"/t:DisplayMessages {project.Path}", out success, false, _output);
XMake_Tests.cs (3)
536
BuildEnvironmentHelper
.ResetInstance_ForUnitTestsOnly();
580
BuildEnvironmentHelper
.ResetInstance_ForUnitTestsOnly();
942
BuildEnvironmentHelper
.ResetInstance_ForUnitTestsOnly();
MSBuild (11)
BuildEnvironmentHelper.cs (1)
112
msbuildExePath = typeof(
BuildEnvironmentHelper
).Assembly.Location;
CommunicationsUtilities.cs (1)
103
string toolsDirectory =
BuildEnvironmentHelper
.Instance.MSBuildToolsDirectoryRoot;
MSBuildClientApp.cs (2)
45
string msbuildLocation =
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath;
108
string dotnetExe = Path.Combine(FileUtilities.GetFolderAbove(
BuildEnvironmentHelper
.Instance.CurrentMSBuildToolsDirectory, 2),
MSBuildLoadContext.cs (1)
99
var assemblyNameInExecutableDirectory = Path.Combine(
BuildEnvironmentHelper
.Instance.CurrentMSBuildToolsDirectory,
OutOfProcTaskHostNode.cs (1)
825
NativeMethodsShared.SetCurrentDirectory(
BuildEnvironmentHelper
.Instance.CurrentMSBuildToolsDirectory);
XMake.cs (5)
393
newArgArray[0] =
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath;
807
if (preprocessWriter != null && !
BuildEnvironmentHelper
.Instance.RunningTests)
1476
parameters.NodeExeLocation =
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath;
1744
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath),
1988
s_exeName =
BuildEnvironmentHelper
.Instance.CurrentMSBuildExePath;