25 references to Version40
Microsoft.Build.Tasks.Core (5)
GetFrameworkPath.cs (1)
40
private static readonly Lazy<string> s_version40Path = new Lazy<string>(() => ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version40
));
GetFrameworkSDKPath.cs (3)
148
s_version40Path = ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.VersionLatest);
155
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.VersionLatest),
156
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.VersionLatest));
ManifestUtil\SecurityUtil.cs (1)
862
var pathToDotNetFrameworkSdk = ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version100);
Microsoft.Build.Utilities.Core (2)
ToolLocationHelper.cs (2)
2017
case TargetDotNetFrameworkVersion.
Version40
:
3554
"4.0" => GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version40
, architecture),
Microsoft.Build.Utilities.UnitTests (18)
ToolLocationHelper_Tests.cs (18)
513
ToolLocationHelper.GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion.
Version40
),
628
ToolLocationHelper.GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion.
Version40
).ShouldBe(FrameworkLocationHelper.dotNetFrameworkVersionFolderPrefixV40);
638
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version40
).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV40);
651
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version40
, UtilitiesDotNetFrameworkArchitecture.Bitness32).ShouldBe(
670
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version40
, UtilitiesDotNetFrameworkArchitecture.Bitness64).ShouldBe(
690
ToolLocationHelper.GetPathToDotNetFrameworkFile("MSBuild.exe", TargetDotNetFrameworkVersion.
Version40
).ShouldBe(ToolLocationHelper.GetPathToBuildToolsFile("MSBuild.exe", "4.0"));
711
ToolLocationHelper.GetPathToDotNetFrameworkFile("msbuild.exe", TargetDotNetFrameworkVersion.
Version40
, UtilitiesDotNetFrameworkArchitecture.Bitness32).ShouldBe(
765
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version100).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK70A);
766
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version110).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK80A);
767
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version120).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK81A);
768
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version140).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK46);
878
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version40
, vsVersion).ShouldBe(InstallationFolder);
954
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version100).ShouldBe(pathToSdkV4InstallRootOnVS10);
955
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version110).ShouldBe(pathToSdkV4InstallRootOnVS11);
956
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version120).ShouldBe(pathToSdkV4InstallRootOnVS12);
957
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version40
, VisualStudioVersion.Version140).ShouldBe(pathToSdkV4InstallRootOnVS14);
2859
case TargetDotNetFrameworkVersion.
Version40
:
2898
case TargetDotNetFrameworkVersion.
Version40
: