20 references to Latest
Microsoft.Build.Tasks.Core (11)
Al.cs (1)
310
pathToTool = ToolLocationHelper.GetPathToDotNetFrameworkFile(ToolExe, TargetDotNetFrameworkVersion.
Latest
);
AspNetCompiler.cs (2)
301
string pathToTool = ToolLocationHelper.GetPathToDotNetFrameworkFile(ToolExe, TargetDotNetFrameworkVersion.
Latest
);
306
ToolLocationHelper.GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion.
Latest
));
GetFrameworkPath.cs (1)
35
private static readonly Lazy<string> s_path = new Lazy<string>(() => ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Latest
));
GetFrameworkSDKPath.cs (3)
45
s_path = ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Latest
, VisualStudioVersion.VersionLatest);
52
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Latest
, VisualStudioVersion.VersionLatest),
53
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Latest
, VisualStudioVersion.VersionLatest));
ResolveComReference.cs (1)
536
TargetDotNetFrameworkVersion targetAxImpVersion = ExecuteAsTool ? TargetDotNetFrameworkVersion.Version35 : TargetDotNetFrameworkVersion.
Latest
;
SdkToolsPathUtility.cs (2)
121
log.LogErrorWithCodeFromResources("General.SdkToolsPathToolDoesNotExist", toolName, sdkToolsPath, ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Latest
, VisualStudioVersion.VersionLatest));
137
string pathToTool = ToolLocationHelper.GetPathToDotNetFrameworkSdkFile(toolName, TargetDotNetFrameworkVersion.
Latest
, VisualStudioVersion.VersionLatest);
SGen.cs (1)
312
pathToTool = ToolLocationHelper.GetPathToDotNetFrameworkFile(ToolExe, TargetDotNetFrameworkVersion.
Latest
);
Microsoft.Build.Utilities.Core (3)
ToolLocationHelper.cs (3)
1708
public static string GetPathToDotNetFrameworkSdk() => GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Latest
);
2051
case TargetDotNetFrameworkVersion.
Latest
: // Latest is a special value to indicate the highest version we know about.
3233
=> GetPathToDotNetFrameworkSdkFile(fileName, TargetDotNetFrameworkVersion.
Latest
);
Microsoft.Build.Utilities.UnitTests (6)
ToolLocationHelper_Tests.cs (6)
631
ToolLocationHelper.GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion.
Latest
).ShouldBe(FrameworkLocationHelper.dotNetFrameworkVersionFolderPrefixV40);
632
ToolLocationHelper.GetDotNetFrameworkRootRegistryKey(TargetDotNetFrameworkVersion.
Latest
).ShouldBe(FrameworkLocationHelper.fullDotNetFrameworkRegistryKey);
640
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Latest
).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV40);
655
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Latest
, UtilitiesDotNetFrameworkArchitecture.Bitness32).ShouldBe(
674
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Latest
, UtilitiesDotNetFrameworkArchitecture.Bitness64).ShouldBe(
843
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Latest
, VisualStudioVersion.Version170).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK481);