42 references to ToolLocationHelper
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
1265
string pathToDefaultManifest =
ToolLocationHelper
.GetPathToDotNetFrameworkFile
Microsoft.Build.Tasks.Core (41)
AddToWin32Manifest.cs (1)
113
string? defaultManifestPath =
ToolLocationHelper
.GetPathToDotNetFrameworkFile(DefaultManifestName, TargetDotNetFrameworkVersion.Version46);
AssemblyDependency\ReferenceTable.cs (3)
2114
string targetFrameworkRootDirectory =
ToolLocationHelper
.GetProgramFilesReferenceAssemblyRoot();
2116
highestVersionMoniker =
ToolLocationHelper
.HighestVersionOfTargetFrameworkIdentifier(targetFrameworkRootDirectory, targetFrameworkMoniker.Identifier);
2123
referenceAssemblyDirectories =
ToolLocationHelper
.GetPathToReferenceAssemblies(targetFrameworkRootDirectory, highestVersionMoniker);
Exec.cs (2)
507
var systemCmd =
ToolLocationHelper
.GetPathToSystemFile("cmd.exe");
552
return
ToolLocationHelper
.PathToSystem;
GetFrameworkPath.cs (16)
36
private static readonly Lazy<string> s_path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Latest));
37
private static readonly Lazy<string> s_version11Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version11));
38
private static readonly Lazy<string> s_version20Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version20));
39
private static readonly Lazy<string> s_version30Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version30));
40
private static readonly Lazy<string> s_version35Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version35));
41
private static readonly Lazy<string> s_version40Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version40));
42
private static readonly Lazy<string> s_version45Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version45));
43
private static readonly Lazy<string> s_version451Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version451));
44
private static readonly Lazy<string> s_version452Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version452));
45
private static readonly Lazy<string> s_version46Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version46));
46
private static readonly Lazy<string> s_version461Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version461));
47
private static readonly Lazy<string> s_version462Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version462));
48
private static readonly Lazy<string> s_version47Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version47));
49
private static readonly Lazy<string> s_version471Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version471));
50
private static readonly Lazy<string> s_version472Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version472));
51
private static readonly Lazy<string> s_version48Path = new Lazy<string>(() =>
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version48));
GetInstalledSDKLocations.cs (2)
155
installedSDKs =
ToolLocationHelper
.GetPlatformExtensionSDKLocationsAndVersions(
208
BuildCacheDisposeWrapper staticDisposer = new BuildCacheDisposeWrapper(
ToolLocationHelper
.ClearSDKStaticCache);
GetReferenceAssemblyPaths.cs (2)
218
TargetFrameworkMonikerDisplayName =
ToolLocationHelper
.GetDisplayNameForTargetFrameworkDirectory(_tfmPaths[0], moniker);
259
IList<String> pathsToReturn =
ToolLocationHelper
.GetPathToReferenceAssemblies(
GetSDKReferenceFiles.cs (3)
309
redistPaths =
ToolLocationHelper
.GetSDKRedistFolders(resolvedSDKReference.ItemSpec, targetedConfiguration, targetedArchitecture);
384
IList<string> referencePaths =
ToolLocationHelper
.GetSDKReferenceFolders(resolvedSDKReference.ItemSpec, targetedConfiguration, targetedArchitecture);
702
manifestReferencePaths =
ToolLocationHelper
.GetPlatformOrFrameworkExtensionSdkReferences(
ManifestUtil\AssemblyIdentity.cs (2)
404
foreach (string moniker in
ToolLocationHelper
.GetSupportedTargetFrameworks())
410
IList<string> paths =
ToolLocationHelper
.GetPathToReferenceAssemblies(frameworkName);
ManifestUtil\DeployManifest.cs (1)
190
targetFrameworkPaths =
ToolLocationHelper
.GetPathToReferenceAssemblies(targetFrameworkMoniker);
ManifestUtil\SecurityUtil.cs (3)
850
string toolPath =
ToolLocationHelper
.GetPathToWindowsSdkFile(ToolName, TargetDotNetFrameworkVersion.VersionLatest, VisualStudioVersion.VersionLatest);
853
toolPath =
ToolLocationHelper
.GetPathToWindowsSdkFile(ToolName, TargetDotNetFrameworkVersion.Version45,
858
var pathToDotNetFrameworkSdk =
ToolLocationHelper
.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.Version40, VisualStudioVersion.Version100);
RedistList.cs (2)
218
string frameworkVersion20Path =
ToolLocationHelper
.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version20);
272
string referenceAssembliesPath =
ToolLocationHelper
.GetPathToDotNetFrameworkReferenceAssemblies(version);
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (2)
31
string pathToBuildTools =
ToolLocationHelper
.GetPathToBuildTools(
ToolLocationHelper
.CurrentToolsVersion, DotNetFrameworkArchitecture.Bitness32);
SdkToolsPathUtility.cs (2)
113
log.LogErrorWithCodeFromResources("General.SdkToolsPathToolDoesNotExist", toolName, sdkToolsPath,
ToolLocationHelper
.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.Latest, VisualStudioVersion.VersionLatest));
142
string pathToTool =
ToolLocationHelper
.GetPathToDotNetFrameworkSdkFile(toolName, TargetDotNetFrameworkVersion.Latest, VisualStudioVersion.VersionLatest);