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