7 references to GetPathToBuildToolsFile
Microsoft.Build.Utilities.Core (2)
ToolLocationHelper.cs (1)
3567
public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) =>
GetPathToBuildToolsFile
(fileName, toolsVersion, UtilitiesDotNetFrameworkArchitecture.Current);
TrackedDependencies\FileTracker.cs (1)
570
var path = ToolLocationHelper.
GetPathToBuildToolsFile
(filename, ToolLocationHelper.CurrentToolsVersion, bitness);
Microsoft.Build.Utilities.UnitTests (5)
ToolLocationHelper_Tests.cs (5)
705
net20Path?.ShouldBe(ToolLocationHelper.
GetPathToBuildToolsFile
("msbuild.exe", "2.0", UtilitiesDotNetFrameworkArchitecture.Bitness32));
708
net35Path?.ShouldBe(ToolLocationHelper.
GetPathToBuildToolsFile
("msbuild.exe", "3.5", UtilitiesDotNetFrameworkArchitecture.Bitness32));
711
ToolLocationHelper.
GetPathToBuildToolsFile
("msbuild.exe", "4.0", UtilitiesDotNetFrameworkArchitecture.Bitness32));
716
tv12path.ShouldBe(ToolLocationHelper.
GetPathToBuildToolsFile
("msbuild.exe", ObjectModelHelpers.MSBuildDefaultToolsVersion, UtilitiesDotNetFrameworkArchitecture.Bitness32));
717
tv12path.ShouldBe(ToolLocationHelper.
GetPathToBuildToolsFile
("msbuild.exe", ToolLocationHelper.CurrentToolsVersion, UtilitiesDotNetFrameworkArchitecture.Bitness32));