1 write to CurrentMSBuildExePath
Microsoft.Build (1)
BuildEnvironmentHelper.cs (1)
549
CurrentMSBuildExePath
= currentMSBuildExePath;
11 references to CurrentMSBuildExePath
Microsoft.Build (2)
BackEnd\BuildManager\BuildParameters.cs (1)
1024
return BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
;
BackEnd\Components\ProjectCache\CacheContext.cs (1)
51
MSBuildExePath = BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
;
Microsoft.Build.Engine.UnitTests (8)
BuildEnvironmentHelper_Tests.cs (5)
32
string actualMSBuildPath = BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
.ToLowerInvariant();
53
BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
.ShouldBe(msBuildPath);
83
BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
.ShouldBe(msBuildPath);
184
Path.GetFileName(BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
).ShouldBe(MSBuildExeName);
409
BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
.ShouldBe(entryProcess);
ProjectCache\ProjectCacheTests.cs (3)
558
currentBuildEnvironment.
CurrentMSBuildExePath
,
676
currentBuildEnvironment.
CurrentMSBuildExePath
,
1444
currentBuildEnvironment.
CurrentMSBuildExePath
,
Microsoft.Build.UnitTests.Shared (1)
RunnerUtilities.cs (1)
19
public static string PathToCurrentlyRunningMsBuildExe => BuildEnvironmentHelper.Instance.
CurrentMSBuildExePath
;