1 write to CurrentMSBuildToolsDirectory
Microsoft.Build (1)
BuildEnvironmentHelper.cs (1)
562
CurrentMSBuildToolsDirectory
= currentMSBuildExeFile.DirectoryName;
35 references to CurrentMSBuildToolsDirectory
Microsoft.Build (25)
BackEnd\Node\OutOfProcNode.cs (2)
476
NativeMethodsShared.SetCurrentDirectory(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
);
710
NativeMethodsShared.SetCurrentDirectory(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
);
BackEnd\Node\OutOfProcServerNode.cs (2)
252
NativeMethodsShared.SetCurrentDirectory(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
);
426
NativeMethodsShared.SetCurrentDirectory(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
450
BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
);
BuildEnvironmentHelper.cs (7)
564
MSBuildToolsDirectory32 =
CurrentMSBuildToolsDirectory
;
565
MSBuildToolsDirectory64 =
CurrentMSBuildToolsDirectory
;
566
MSBuildToolsDirectoryRoot =
CurrentMSBuildToolsDirectory
;
582
NativeMethodsShared.ProcessorArchitectures.X86 =>
CurrentMSBuildToolsDirectory
,
591
MSBuildToolsDirectoryRoot =
CurrentMSBuildToolsDirectory
;
612
MSBuildToolsDirectory64 = existsCheck(potentialAmd64FromX86) ? Path.Combine(MSBuildToolsDirectoryRoot, "amd64") :
CurrentMSBuildToolsDirectory
;
681
defaultSdkPath = Path.Combine(
CurrentMSBuildToolsDirectory
, "Sdks");
Definition\ToolsetLocalReader.cs (3)
28
protected override string MSBuildOverrideTasksPath => BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
;
40
yield return new ToolsetPropertyDefinition(MSBuildConstants.ToolsPath, BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, _sourceLocation);
43
System.IO.Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, "Roslyn"),
Definition\ToolsetReader.cs (2)
170
var currentDir = BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
.TrimEnd(Path.DirectorySeparatorChar);
629
Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, trimmedValue));
Evaluation\IntrinsicFunctions.cs (1)
661
return BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
;
FrameworkLocationHelper.cs (1)
1047
_ => BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
,
Instance\TaskRegistry.cs (3)
89
private static string s_potentialTasksV4Location = Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, s_tasksV4Filename);
108
private static string s_potentialTasksV12Location = Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, s_tasksV12Filename);
127
private static string s_potentialTasksCoreLocation = Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, s_tasksCoreFilename);
TaskLoader.cs (1)
105
appDomainInfo.ApplicationBase = BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
;
Utilities\NuGetFrameworkWrapper.cs (1)
205
BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
;
Utilities\Utilities.cs (1)
553
localAppData = BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
;
Microsoft.Build.Engine.UnitTests (10)
BuildEnvironmentHelper_Tests.cs (4)
31
string toolsDirectoryPath = BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
.ToLowerInvariant();
52
BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
.ShouldBe(path);
82
BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
.ShouldBe(msbuildBinDirectory);
410
BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
.ShouldBe(Path.GetDirectoryName(entryProcess));
Instance\ProjectInstance_Internal_Tests.cs (1)
567
Directory.SetCurrentDirectory(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
);
ProjectCache\ProjectCacheTests.cs (1)
54
BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
,
TypeLoader_Dependencies_Tests.cs (1)
17
private static readonly string ProjectFileFolder = Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, "TaskWithDependency");
TypeLoader_Tests.cs (3)
21
private static readonly string ProjectFileFolder = Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, "PortableTask");
25
Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, "..", "..", "..", "Samples", "PortableTask"));
75
string dllPath = Path.Combine(BuildEnvironmentHelper.Instance.
CurrentMSBuildToolsDirectory
, dllName);